[][src]Module holochain_sodium::aead

This module provides access to libsodium

Constants

ABYTES

Used with the size of the message to set the size of the cipher and decripted message

NONCEBYTES

Used to set the size of nonce var in the enc fns

Functions

dec

Decrypt symmetric cipher text given a nonce, secret, and optional auth data

enc

Generate symmetric cipher text given a message, secret, and optional auth data