crypto library
Cryptographic operations powered by BoringSSL.
Classes
- BoringAead
- Authenticated Encryption with Associated Data (AEAD) cipher.
- BoringDigest
- Message digest (hashing) functions.
- BoringEd25519
- Ed25519 high-speed digital signatures (RFC 8032).
- BoringHkdf
- HMAC-based Extract-and-Expand Key Derivation Function (HKDF, RFC 5869).
- BoringHmac
- Hash-based Message Authentication Code (HMAC) operations.
- BoringPrivateKey
- Private asymmetric cryptographic key (RSA, ECDSA, Ed25519).
- BoringPublicKey
- Public asymmetric cryptographic key (RSA, ECDSA, Ed25519).
- BoringRand
- Cryptographically secure pseudorandom number generator (CSPRNG).
- DigestContext
- Streaming context for computing message digests incrementally.
- HmacContext
- Streaming context for computing HMAC incrementally.
Enums
- AeadAlgorithm
- Supported Authenticated Encryption with Associated Data (AEAD) algorithms.
- EcCurve
- Elliptic curve types supported by ECDSA.
- HashAlgorithm
- Supported message digest algorithms.
- KeyType
- Asymmetric key algorithm type.
Constants
- ed25519PrivateKeyLength → const int
- Raw Ed25519 private key length in bytes (64 bytes: 32 seed + 32 public).
- ed25519PublicKeyLength → const int
- Raw Ed25519 public key length in bytes (32 bytes).
- ed25519SeedLength → const int
- Raw Ed25519 seed length in bytes (32 bytes).
- ed25519SignatureLength → const int
- Raw Ed25519 signature length in bytes (64 bytes).
Exceptions / Errors
- BoringSslException
- Exception thrown when a BoringSSL operation fails.