affinidi_tdk_cryptography 1.0.14
affinidi_tdk_cryptography: ^1.0.14 copied to clipboard
Cryptography package for Affinidi TDK that provides cryptographic functionalities for secure token management, encryption and decryption.
import 'package:affinidi_tdk_cryptography/affinidi_tdk_cryptography.dart';
Future<void> main() async {
final vaultEncryptedSeed = ''; // Replace with your Vault's encrypted seed
final vaultPassword = ''; // Replace with your Vault's password
final cryptographyService = CryptographyService();
final String decryptedSeed = cryptographyService.decryptSeed(
encryptedSeedHex: vaultEncryptedSeed,
encryptionKeyHex: vaultPassword,
);
print('Decrypted Seed: $decryptedSeed');
}