Result of an AEAD encryption operation.
const { data } = await client.encrypt({ key: hexKey, plaintext: 'secret' });const result: AeadResult = data;console.log(result.ciphertext, result.algorithm); Copy
const { data } = await client.encrypt({ key: hexKey, plaintext: 'secret' });const result: AeadResult = data;console.log(result.ciphertext, result.algorithm);
Hex-encoded ciphertext (includes nonce and tag).
AEAD algorithm used.
Result of an AEAD encryption operation.
Example