Result of POST /v2/password/encrypt (Argon2id + XChaCha20-Poly1305).
POST /v2/password/encrypt
const { data } = await client.passwordEncrypt({ password: 'my-pass', plaintext: 'secret' });const result: PasswordEncryptResult = data;await client.passwordDecrypt({ password: 'my-pass', ciphertext: result.encrypted }); Copy
const { data } = await client.passwordEncrypt({ password: 'my-pass', plaintext: 'secret' });const result: PasswordEncryptResult = data;await client.passwordDecrypt({ password: 'my-pass', ciphertext: result.encrypted });
Base64-encoded payload (parameters, salt, nonce and ciphertext).
Construction used ("argon2id-xchacha20-poly1305").
"argon2id-xchacha20-poly1305"
Result of
POST /v2/password/encrypt(Argon2id + XChaCha20-Poly1305).Example