agent/crypto/crypto
library
Functions
-
decodePhrase(Map<String, dynamic> keyStore, String psw)
→ Future<String>
-
-
decodePrivateKey(Map<String, dynamic> keyStore, String psw)
→ Future<String>
-
-
decrypt(Map<String, dynamic> keyStore, String passphrase)
→ Future<String>
-
-
decryptCborPhrase(List<int> bytes, String password)
→ Future<String>
-
-
decryptPhrase(Map<String, dynamic> keyStore, String passphrase)
→ Future<String>
-
-
encodePhrase(String prvKey, String psw, [Map<String, dynamic>? options])
→ Future<String>
-
-
encodePrivateKey(String prvKey, String psw, [Map<String, dynamic>? options])
→ Future<String>
-
-
encrypt(String privateKey, String passphrase, [Map<String, dynamic>? options])
→ Future<String>
-
-
encryptCborPhrase(String phrase, String password, [Map<String, dynamic>? options])
→ Future<Uint8List>
-
-
encryptPhrase(String phrase, String password, [Map<String, dynamic>? options])
→ Future<String>
-
-
getDerivedKey(String kdf, Map<String, dynamic> params)
→ _KeyDerivator
-
getDerivedKey by
kdf
type
-
getRandomValues([int length = DEFAULT_LENGTH])
→ Uint8List
-
-
randomAsHex([int length = 32])
→ String
-
-
randomAsNumber()
→ int
-
-
randomAsU8a([int length = DEFAULT_LENGTH])
→ Uint8List
-