WalletFileEncryption

class WalletFileEncryption(wallet: Wallet? = null)

This class is used to encrypt and decrypt wallet files.

Author

Marcus Cvjeticanin

Since

0.2.0

Parameters

wallet

The wallet file object to encrypt

Constructors

Link copied to clipboard
constructor(wallet: Wallet? = null)

Functions

Link copied to clipboard
fun encryptToFile(fileName: String, password: String)

Encrypt the wallet file object with the password using AES encryption.

Link copied to clipboard
fun loadWallet(fileName: String, password: String): Wallet

Load the wallet file object from a file.