Result of a key derivation function operation.
const { data } = await client.kdf({ algorithm: 'hkdf-sha256', password: 'pw' });const result: KdfResult = data;console.log(result.derivedKey, result.salt, result.keyLength); Copy
const { data } = await client.kdf({ algorithm: 'hkdf-sha256', password: 'pw' });const result: KdfResult = data;console.log(result.derivedKey, result.salt, result.keyLength);
Hex-encoded derived key.
Hex-encoded salt used for derivation.
KDF algorithm used.
Length of the derived key in bytes.
Result of a key derivation function operation.
Example