Expand description
A wrapper for the Botan cryptography library
Structs§
- Block
Cipher - A raw block cipher interface (ie ECB mode)
- CRL
- X.509 certificate revocation list
- Certificate
- X.509 certificate
- Cipher
- A symmetric cipher
- Decryptor
- An object that can perform public key decryption
- Encryptor
- An object that performs public key encryption
- Error
- The library error type
- FPE
- Represents an instance of format preserving encryption
- HOTP
- Generate or check HOTP tokens
- Hash
Function - A hash function object
- KeyAgreement
- An object that performs key agreement
- KeySpec
- Specifies valid keylengths for symmetric ciphers/MACs
- MPI
- A big integer type
- MsgAuth
Code - Message authentication code
- Privkey
- A private key object
- Pubkey
- A public key object
- Random
Number Generator - A cryptographic random number generator
- Signer
- An object that can generate signatures
- TOTP
- Generate or check TOTP tokens
- Verifier
- An object that can perform public key signature verification
- Version
- Information about the library version
Enums§
- Cert
Usage - Indicates if the certificate key is allowed for a particular usage
- Cert
Validation Status - Represents result of cert validation
- Cipher
Direction - Which direction the cipher processes in
- Error
Type - Possible error categories
Functions§
- base64_
decode - Base64 decode some data
- base64_
encode - Base64 encode some data
- bcrypt_
hash - Produce a bcrypt password hash
- bcrypt_
verify - Verify a bcrypt password hash
- const_
time_ compare - Const time comparison
- derive_
key_ from_ password - Password based key derivation function
- derive_
key_ from_ password_ timed - Password based key derivation function, timed variant
- hex_
decode - Hex decode some data
- hex_
encode - Hex encode some data
- kdf
- Key derivation function
- pbkdf
- Password based key derivation function
- pkcs_
hash_ id - Return the identifier used for PKCS1 v1.5 signatures for the specified hash
- rfc3394_
key_ unwrap - Unwrap a key encrypted using RFC3394’s AES key wrap algorithm
- rfc3394_
key_ wrap - Wrap a key using RFC 3394’s AES key wrap algorithm.
- scrub_
mem - Securely zeroize memory
- scrypt
- Scrypt key derivation
Type Aliases§
- Result
- The result of calling an operation on the library