Crate encrust_core

Source
Expand description

Crate implementing core functionality for encrust. See the main crate for documentation.

Structs§

Decrusted
Type used to access encrusted data. Use Encrusted::decrust to create Decrusted data.
Encrusted
Container struct for encrust, accepting Encrustable + Zeroize types for obfuscation and deobfuscation when needed.
Hashbyteshashstrings
The hash of a slice of u8’s. Can be used to search for data without storing the data itself in memory.
Hashstringhashstrings
The hash of a string. Can be used to search for strings without storing the string itself in memory.

Enums§

Sensitivityhashstrings
Used to specify whether a Hashstring should ignore case when comparing strings.

Traits§

Encrustable
Trait required to use data types with encrust. If it is avoidable, do not implement this manually, but use the derive macro to generate the implementation.