Key name.
User-supplied password.
Private key as hex-string or a Buffer.
Randomly generated 24byte nonce.
Randomly generated 16byte salt.
Optional
options: Partial<{ cipher_params: { nonce: string }; ciphertext: string; kdf: "argon2id"; kdf_params: { memlimit_kib: number; opslimit: number; parallelism: number; salt: string }; secret_type: "ed25519"; symmetric_alg: "xsalsa20-poly1305" }>Encryption parameters.
Generated using TypeDoc
Export private key to keystore secret-storage format.