Skip to main content

Method Signature

Parameters

EncryptedWallet
required
The encrypted wallet data object
string
required
The password used for encryption

Returns

Returns the decrypted private key as a string.

Examples

Handle decrypted private keys with extreme care. Never log them or expose them in client-side code.

Encrypt Private Key

Encrypt a private key

Decrypt Wallet

Decrypt full wallet