[][src]Module keybear_core::crypto

Traits

StaticSecretExt

Add functions to the crypto secret key to make it easier to use.

Functions

decrypt

Decrypt a chacha20poly1305 encoded JSON string into an object.

encrypt

Encrypt a serializable object into a chacha20poly1305 encoded JSON string.