API Reference
Comprehensive documentation for all RNQC modules.
RNQC mirrors the Node.js crypto API while adding specialized high-performance modules.
Core Modules
Install Polyfills
Global polyfill injection for drop-in compatibility.
Cipher
Symmetric encryption (AES, ChaCha20, XChaCha20).
Hash
Message digests (SHA-2, SHA-3, MD5).
HMAC
Keyed-hash message authentication.
Random
CSPRNG, UUIDs, and random integers.
Keys
Key generation (RSA, EC) and KeyObject management.
Signing
Digital signatures (RSA, ECDSA, Ed25519).
Public Cipher
RSA asymmetric encryption/decryption.
Utilities
One-shot hashing, timing-safe comparison, primes, introspection.
Key Exchange
DiffieHellman
Classic DH key exchange with standard groups.
ECDH
Elliptic Curve Diffie-Hellman (P-256, secp256k1).
Edwards & Montgomery
Ed25519, Ed448, X25519, X448 signatures and key exchange.
Key Derivation
PBKDF2
Password-based key derivation (RFC 2898).
Scrypt
Memory-hard key derivation.
HKDF
Extract-and-Expand KDF (RFC 5869).
Argon2
Memory-hard password hashing (PHC winner).
BLAKE3
Next-gen high-performance hashing and KDF.