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
ciphertext
and into a newly allocatedUint8Array
. - Encrypts
plaintext
and into a newly allocatedUint8Array
. - Encrypts
plaintext
with 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.