Crate botan[−][src]
A wrapper for the Botan cryptography library
Structs
| BlockCipher | A raw block cipher interface (ie ECB mode) |
| 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 |
| FPE | Represents an instance of format preserving encryption |
| HOTP | Generate or check HOTP tokens |
| HashFunction | A hash function object |
| KeyAgreement | An object that performs key agreement |
| KeySpec | Specifies valid keylengths for symmetric ciphers/MACs |
| MPI | A big integer type |
| MsgAuthCode | Message authentication code |
| Privkey | A private key object |
| Pubkey | A public key object |
| RandomNumberGenerator | 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
| CertUsage | Indicates if the certificate key is allowed for a particular usage |
| CertValidationStatus | Represents result of cert validation |
| CipherDirection | Which direction the cipher processes in |
| Error | Possible errors |
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 |
| nist_key_unwrap | Unwrap a key encrypted using NIST’s AES key wrap algorithm |
| nist_key_wrap | Wrap a key using NIST’s AES key wrap algorithm. |
| pbkdf | Password based key derivation function |
| pkcs_hash_id | Return the identifier used for PKCS1 v1.5 signatures for the specified hash |
| scrub_mem | Securely zeroize memory |
| scrypt | Scrypt key derivation |
Type Definitions
| Result | The result of calling an operation on the library |