arcana/rsa/mod.rs
1//! RSA encryption and signatures.
2//!
3//! # Algorithms
4//! - **PKCS#1 v1.5** (RFC 8017): encryption and signature padding
5//! - **OAEP** (RFC 8017): optimal asymmetric encryption padding
6//! - **RSASSA-PSS** (RFC 8017 / PKCS#1 v2.2 ยง8.1): modern signature padding
7//! - Key sizes: 512 (tests only), 1024 (tests), 2048, 3072, 4096 bits
8//!
9//! # Modules
10//! - `bigint`: Big integer arithmetic (up to 4096-bit)
11//! - `rsa`: RSA core key generation, raw encrypt/decrypt
12//! - `pkcs1`: PKCS#1 v1.5 padding for encryption and signatures
13//! - `oaep`: OAEP padding for encryption
14//! - `pss`: RSASSA-PSS signatures (the modern RSA signature padding)
15
16pub mod bigint;
17pub mod oaep;
18pub mod pkcs1;
19pub mod pss;
20pub mod rsa;