Result of a secretbox seal operation (symmetric authenticated encryption).
const { data } = await client.secretboxSeal({ key: hexKey, plaintext: 'secret' });const result: SecretboxSealResult = data;console.log(result.sealed); Copy
const { data } = await client.secretboxSeal({ key: hexKey, plaintext: 'secret' });const result: SecretboxSealResult = data;console.log(result.sealed);
Hex-encoded sealed ciphertext (nonce + ciphertext + tag).
Result of a secretbox seal operation (symmetric authenticated encryption).
Example