Skip to main content

Module encryption

Module encryption 

Expand description

Module for CipherStash encryption schemes and indexers

Modules§

compound_indexer

Structs§

BytesWithDescriptor
DecryptOptions
EncryptedEntry
Encryption
IndexedArray
IndexedBool
IndexedNull
IndexedNumber
IndexedObject
IndexedString
JsonIndexer
Indexer for searchable encryption of JSON documents.
JsonIndexerOptions
Configuration for a JsonIndexer.
JsonbIndexer
Structure preserving cryptographic JSONB indexing.
MatchIndexer
OpeIndexer
OreIndexer
Payload
PlaintextTarget
Convenience type that represents a Param which will be mapped using config. config will always be present but operator may be None in this case.
QueryBuilder
ScopedCipher
A Scoped Cipher is one which has been initialized for a specific keyset. It can be used only to encrypt and decrypt data for that keyset.
SteQueryVec
Represents a vector of query entries.
SteVec
Describes a SteVec, which is a vector of encrypted entries used for index JSON. N is the length of the selector.
StorageBuilder
TokenizedSelector
Represents a tokenized selector for a value in a JSON object.
TypeParseError
UniqueIndexer

Enums§

Encrypted
Represents an encrypted payload that is ready to be stored.
EncryptedSteVecTerm
Represents an encrypted term in a STE vector. Carries either a MAC (for bool/null/array/object/root leaves) or a single tagged-plaintext orderable ciphertext (OPE in Compat mode, ORE in Standard mode). Numeric and string plaintexts share the same orderable variant; domain separation is enforced on the plaintext bit stream (see [super::priv_state::ste_plaintext_term::OrderableTerm]), not by tagging the ciphertext after the fact.
EncryptedSteVecTermCompat
EncryptedSteVecTermStandard
EncryptionError
IndexTerm
IndexedValue
An IndexedValue structurally mirrors a serde_json::Value and enhances it with cryptographic search terms.
JsonbIndexerError
Plaintext
QueryOp
Query operations for STE-vec indexed columns.

Traits§

Encryptable
IndexerInit
JsonbContains
PlaintextNullVariant
Queryable
TryFromPlaintext