Web3SecretStorageDefinationV3 class

The Web3SecretStorageDefinationV3 class represents a secret wallet that stores sensitive credentials using a specified key derivation strategy.

Constructors

Web3SecretStorageDefinationV3({required CryptoParam param, required List<int> password, required List<int> data, required String id})
factory
Web3SecretStorageDefinationV3.decode(String encoded, String password, {SecretWalletEncoding encoding = SecretWalletEncoding.json})
Factory method to decode and create a Web3SecretStorageDefinationV3 from an encoded string and a password.
factory
Web3SecretStorageDefinationV3.encode(List<int> data, String password, {int scryptN = 8192, int p = 1})
Factory method to create a Web3SecretStorageDefinationV3 with encoded credentials.
factory

Properties

data List<int>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String
final

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