Encrypts a secret key with a passphrase
The encrypted secret key
const encryptedSecretKey = cryptoUtils.encryptSecretKey( 'p2sk3T9fYpibobxRr7daoPzywLpLAXJVd3bkXpAaqYVtVB37aAp7bU', 'password',);
The secret key
The passphrase to encrypt the key
The salt to apply to the encryption
Generated using TypeDoc
Description
Encrypts a secret key with a passphrase
Returns
The encrypted secret key
Example