Module crypto

Source

Structs§

PreparedPrimaryKey
SealedTableEntry
Wrapped to indicate that the value is encrypted
Sealer
Builder pattern for sealing a record of type, T.
UnsealSpec
Unsealed
Wrapper to which values are added prior to being encrypted. Values added as “protected” (e.g. via Unsealed::add_protected) will be encrypted. Values added as “unprotected” (e.g. via Unsealed::add_unprotected) will not be encrypted.

Enums§

CryptoError
SealError

Functions§

b64_encode
Base64 encode the provided buffer using a URL safe scheme with no padding
format_term_key
hmac
Use a CipherStash ExactIndex to take the HMAC of a string with a provided salt

Type Aliases§

UnsealedIndex
The combination of plaintext, index, name and index type for a particular field