RNS::Cryptography
Cryptographic primitives used throughout RNS: hashing (SHA-256/512), HMAC, HKDF key derivation, AES-256-CBC encryption, X25519 ECDH key exchange, Ed25519 signatures, and Fernet-like authenticated encryption.
Constants
HASH_LEN = 32
PROVIDER = :internal
The crypto backend in use. :internal means Crystal OpenSSL bindings.
TRUNCATED_HASHLENGTH = 128