agent/crypto/keystore/key_store library

Functions

decodePhrase(Map<String, dynamic> keyStore, String psw) Future<String>
decodePrivateKey(Map<String, dynamic> keyStore, {String? password}) Future<String>
decrypt(Map<String, dynamic> keyStore, {String? password}) Future<String>
decryptCborPhrase(List<int> bytes, {String? password}) Future<String>
decryptMessage({required Secp256k1KeyIdentity identity, required Secp256k1PublicKey theirPublicKey, required String cipherText}) Future<String>
decryptP256Message({required P256Identity identity, required P256PublicKey theirPublicKey, required String cipherText}) Future<String>
decryptPhrase(Map<String, dynamic> keyStore, String passphrase) Future<String>
encodePhrase(String prvKey, {String? password, Map<String, dynamic>? options}) Future<String>
encodePrivateKey(String prvKey, {String? password, Map<String, dynamic>? options}) Future<String>
encrypt(String privateKey, {String? password, Map<String, dynamic>? options}) Future<String>
encryptCborPhrase(String phrase, {String? password, Map<String, dynamic>? options}) Future<Uint8List>
encryptMessage({required Secp256k1KeyIdentity identity, required Secp256k1PublicKey theirPublicKey, required String text}) Future<EncryptMessageResponse>
encryptP256Message({required P256Identity identity, required P256PublicKey theirPublicKey, required String text, Uint8List? sharedSecret}) Future<E2EResponse>
encryptPhrase(String phrase, {String? password, Map<String, dynamic>? options}) Future<String>
getDerivedKey(String kdf, Map<String, dynamic> params) KeyDerivator
getDerivedKey by kdf type
nativeDeriveKey({required String kdf, required List<int> iv, required String? message, required Uint8List? useCipherText, required Map<String, dynamic> kdfParams, required String salt, String? passphrase}) Future<NativeDeriveKeyResult>