Skip to main content

libslug/
lib.rs

1//! # LibSlug: A Rust Cryptography Library
2//! 
3//! This cryptography library is comprehensive and incorporates a large number of cryptological interfaces for use. It uses an easy to understand interface.
4//! 
5//! It also includes a module prelude that contains all necessary components.
6//! 
7//! It has several components, including:
8//! 
9//! - [X] Symmetric Encryption
10//!     - [X] AES256-GCM
11//!     - [X] XCHACHA20-POLY1305 (Extended Nonce)
12//!     - [ ] MORUS
13//! - [X] Asymmetric Encryption (Public Key Encryption)
14//!     - [X] ECIES-ED25519-silene
15//!     - [ ] Kyber768
16//!     - [X] Kyber1024
17//! - [X] Digital Signatures
18//!     - [ ] RSA2048
19//!     - [ ] RSA4096
20//!     - [X] ED25519
21//!     - [ ] ED448
22//!     - [X] Schnorr
23//!     - [ ] ECDSA
24//!     - [X] SPHINCS+ (SHAKE256)
25//!     - [ ] FALCON512
26//!     - [X] FALCON1024
27//!     - [X] Dilithium65 (ML-DSA)
28//!     - [X] One-Time Signatures
29//!         - [X] Lamport Signatures
30//!         - [X] Winternitz One Time Signatures (WOTS)
31//! - [X] Hash Functions
32//!     - [X] SHA2 (224,256,384,512)
33//!     - [X] SHA3 (224,256,384,512)
34//!     - [X] BLAKE2 (s + b)
35//!     - [X] BLAKE3
36//! - [X] Cryptographically Secure PseudoRandom Number Generators
37//!     - [X] OS-CSPRNG
38//!     - [X] EphermalPass
39//!     - [X] Determinstic Password
40//!     - [X] Derive From Seed (ChaCha20 RNG)
41//!     - [X] Verifiable Random Functions (Schnorr-VRF)
42//!     - [X] BIP39 (Mnemonic)
43//! 
44//! ## TODO
45//! 
46//! - [ ] Slugencoding for all algs
47//! - [ ] HybridFalcon
48//! - [ ] ShulginSigning
49//! - [ ] Hedged Signatures (0x20CB-style)
50//! - [ ] Add ed448
51//! - [ ] Add P256, P521 others
52//! - [ ] Oint-Wallet
53//! - [ ] BIP32
54
55/// SlugCrypt Library
56pub mod slugcrypt;
57
58/// Slugfmt (YAML)
59pub mod slugfmt;
60
61/// x59Cert (YAML)
62pub mod x59;
63
64/// Constants
65pub mod constants;
66
67/// Errors
68pub mod errors;
69
70/// Prelude
71pub mod prelude;
72