phoenix-crypto 0.1.0

JWT, blind indexes, authenticated encryption, and password hashing for Phoenix
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Secure-by-default JWT, blind indexes, authenticated encryption, and password hashing.

mod blind_index;
mod encryption;
mod jwt;
mod password;
mod token;

pub use blind_index::{BlindIndexError, BlindIndexKey, BlindIndexer, MAX_BLIND_INDEX_KEYS};
pub use encryption::{Ciphertext, EncryptionError, EncryptionKey, Encryptor};
pub use jwt::{Jwt, JwtAuth, JwtClaims, JwtConfig, JwtError, JwtKey, JwtManager, JwtRejection};
pub use password::{Password, PasswordError};
pub use token::{
    FileTokenStore, MemoryTokenStore, RefreshRecord, RotateRefresh, StatefulJwtAuth, TokenError,
    TokenPair, TokenService, TokenStore, TokenStoreError,
};