vitaminc-ore 0.6.0

Order terms for the plaintext data model: one sealed order encoding per kind, and the scheme trait that encrypts it. Part of the Vitamin-C cryptographic suite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![deny(clippy::unwrap_used, clippy::todo, unsafe_code, unused_imports)]
#![doc = include_str!("../README.md")]

mod casefold_unicode16;
mod fold;
mod order;
mod scheme;

pub use order::{domain, order, order_terms, text, Order, OrderTarget};
pub use scheme::{
    OrderColumn, OrderEncrypt, OrderError, OrderKeyInit, OrderPlaintext, OrderScheme,
};
// The types in this crate's signatures, so a caller needs no second import:
// a scheme encrypts values of the data model, and a typed scalar goes in
// as `Raw(ty, physical)`, without depending on vitaminc-aead.
pub use vitaminc_aead::{Encrypt, Float, Int, Logical, Physical, Raw, TimeUnit};
pub use vitaminc_context::{Context, IntoContext};
pub use vitaminc_normalize::{NormalizeError, Term, TermsError};