Crypto

The Crypto module provides cryptographic operations and security features built on OpenSSL, offering both stream-based and one-shot interfaces for common cryptographic tasks.


📝 Encoding

Base64

Base64 encoding and decoding with stream support.


🔐 Cryptographic Hash Functions

Digest

Stream-based cryptographic hashing with support for multiple algorithms:

Supported Algorithms:

  • MD5
  • SHA-1
  • SHA-224, SHA-256, SHA-384, SHA-512
  • SM3

🔑 Message Authentication

HMAC (Hash-based Message Authentication Code)

Keyed-hash message authentication with stream support.


✍️ Digital Signatures

Signature

Stream-based digital signature creation and verification:

Supported Algorithms:

  • RSA
  • DSA
  • ECDSA (Elliptic Curve)
  • EdDSA (Ed25519, Ed448)

🔐 TLS/SSL Support

TLS Key Management

Public and private key handling for TLS.


📚 API Reference

For detailed API documentation, see:

Doxygen Reference