#encryption #security #sql

cllw-ore

Fast, efficient Order-Revealing Encryption using CLLW scheme

1 unstable release

0.1.0 Oct 30, 2024

#2220 in Database interfaces

Download history 145/week @ 2024-10-28 34/week @ 2024-11-04 58/week @ 2024-11-11 102/week @ 2024-11-18 186/week @ 2024-11-25 157/week @ 2024-12-02 300/week @ 2024-12-09

747 downloads per month
Used in cipherstash-client

Custom license

47KB
1K SLoC

Rust 810 SLoC // 0.0% comments SQL 349 SLoC // 0.1% comments

CLLW ORE

Crates.io Version docs.rs Built by CipherStash

Website | Docs | Discussions

Fast, efficient Order-Revealing Encryption

This crate implements the Order Revealing Encryption scheme developed by Chenette, Lewi, Weis and Wu at Stanford in 2015 (hence "CLLW").

It is faster and more space efficient than the "Block" ORE scheme developed by Lewi and Wu a year later however has weaker security properties.

At CipherStash, we use this crate for encrypting terms in our encrypted JSON indexer but for everything else we use the Block scheme. See ore.rs for more information.

CipherStash

CLLW ORE is brought to you by the team at CipherStash.

Dependencies

~12MB
~243K SLoC