entropy-auth 2026.7.31

Authentication and authorization for Entropy Softworks server and API projects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Encoding and decoding utilities for authentication data.
//!
//! Provides RFC-compliant implementations of Base64, hex, and URL
//! percent-encoding with zero external dependencies. All implementations
//! are tested against published test vectors from their respective RFCs.

mod base32;
mod base64;
mod hex;
mod url;

pub use self::base32::{Base32DecodeError, base32_decode, base32_encode};
pub use self::base64::{
    Base64DecodeError, base64_decode, base64_encode, base64url_decode, base64url_encode,
};
pub use self::hex::{HexDecodeError, hex_decode, hex_encode, hex_encode_upper};
pub use self::url::{UrlDecodeError, url_decode, url_encode, url_encode_component};