Crate abcrypt_wasm
source ·Expand description
The abcrypt-wasm crate is the Wasm bindings for the abcrypt crate.
Structs§
- The Argon2 parameters used for the encrypted data.
Functions§
- Decrypts
ciphertextand into a newly allocatedUint8Array. - Encrypts
plaintextand into a newly allocatedUint8Array. - Encrypts
plaintextwith the specified Argon2 parameters and into a newly allocatedUint8Array. - Returns the number of bytes of the header.
- Returns the number of bytes of the MAC (authentication tag) of the ciphertext.