API Reference

API Reference

Complete API documentation for all classes, methods, and functions in the cryptopp-modern library.

Hash Functions

High-performance cryptographic hash functions for data integrity and digital signatures.

  • BLAKE3 - Fastest modern hash function with parallelism support
  • BLAKE2b / BLAKE2s - High-speed hash functions (RFC 7693)
  • SHA-256 - Standard hash function with hardware acceleration
  • SHA-512 - 64-bit optimised hash for high security
  • SHA-3 - FIPS 202 Keccak-based hash function

Password Hashing & Key Derivation

Secure password hashing and key derivation functions.

  • Argon2 - Memory-hard password hashing (recommended)
  • HKDF - HMAC-based key derivation for secrets
  • PBKDF2 - Password-based key derivation (legacy/FIPS)

Symmetric Encryption

Authenticated encryption algorithms for encrypting data.

  • AES-GCM - Industry standard authenticated encryption (recommended)
  • ChaCha20-Poly1305 - Modern AEAD without hardware acceleration needs
  • AES-CBC with HMAC - Legacy encrypt-then-MAC pattern
  • AES-CTR - Counter mode (requires separate MAC)
  • AES-CBC - Cipher Block Chaining mode (requires separate MAC)

Public-Key Cryptography

Asymmetric cryptography for signatures and key exchange.

  • X25519 - Modern key exchange (recommended)
  • Ed25519 - Modern digital signatures (recommended)
  • RSA - Legacy public-key encryption and signatures

Message Authentication

Message Authentication Codes (MACs) for data authenticity.

  • HMAC - Hash-based MAC (recommended for most use cases)
  • CMAC - Cipher-based MAC using AES
  • Poly1305 - High-speed one-time MAC

Utilities

Essential utilities for cryptographic operations.

Pipeline & Filters

Data transformation pipeline for streaming operations.

Advanced Utilities

  • Integer - Arbitrary precision integers for big number operations

Quick Navigation

  • By Category - Browse above
  • Alphabetical - See all classes A-Z (coming soon)
  • Most Used - Popular classes (coming soon)

Using the API Reference

Each API page includes:

  • Overview - What the class does and when to use it
  • Constants - Important compile-time constants
  • Constructors - How to create instances
  • Methods - All public methods with parameters and return values
  • Examples - Working code you can copy and paste
  • Performance - Speed characteristics and hardware acceleration
  • Security - Security properties and guarantees
  • See Also - Related classes and guides

Need Help?