SecretWallet class
The SecretWallet
class represents a secret wallet that stores sensitive credentials
using a specified key derivation strategy.
Constructors
- SecretWallet.decode(String encoded, String password, {SecretWalletEncoding encoding = SecretWalletEncoding.json})
-
Factory method to decode and create a
SecretWallet
from an encoded string and a password.factory -
SecretWallet.encode(List<
int> data, String password, {int scryptN = 8192, int p = 1}) -
Factory method to create a
SecretWallet
with encoded credentials.factory
Properties
Methods
-
encrypt(
{SecretWalletEncoding encoding = SecretWalletEncoding.json}) → String - Encrypts the sensitive wallet data using the specified encoding format and returns the encrypted representation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited