1#![no_std]
8#![doc = include_str!("../README.md")]
9#![deny(missing_docs)]
10
11extern crate alloc;
12
13mod error;
14pub use error::Error;
15
16mod hades;
17pub use hades::WIDTH as HADES_WIDTH;
18
19mod hash;
20#[cfg(feature = "zk")]
21pub use hash::gadget::HashGadget;
22pub use hash::{Domain, Hash};
23
24#[cfg(feature = "encryption")]
25mod encryption;
26
27#[cfg(feature = "encryption")]
28#[cfg(feature = "zk")]
29pub use encryption::gadget::{decrypt_gadget, encrypt_gadget};
30#[cfg(feature = "encryption")]
31pub use encryption::{decrypt, encrypt};