|
10Duke Enterprise C++ SDK
|
Cryptography services.
Namespaces | |
| namespace | libcrypto |
| libcrypto based implementations of cryptography services. | |
Classes | |
| class | AbstractCiphers |
| Base class for cipher implementations using AES-256-GCM with PBKDF2 key derivation. More... | |
| class | Cipher |
| Cipher for encrypting / decrypting data. More... | |
| class | Ciphers |
| A "service locator" for cipher-related operations. More... | |
| class | Crypto |
| Cryptographic services. More... | |
| class | CryptoException |
| Thrown when something goes with crypto. More... | |
| class | CryptographicHash |
| A cryptographic hash function, like SHA-256. More... | |
| class | DigitalSignatureVerifier |
| Verifies digital signatures. More... | |
| class | HashFactory |
| Creates cryptographic hash functions. More... | |
| class | KDFProvider |
| Provides key derivation functions. More... | |
| class | MessageDigest |
| Simple MessageDigest-service: E.g. More... | |
| class | MessageDigestVerifier |
| Verifies a message by computing digest for the message and comparing the computed signature to the provided signature. More... | |
| class | PBKDF2 |
| Derives keys using PBKDF2. More... | |
| class | PrivateKey |
| Private key. More... | |
| class | PublicKey |
| Public key. More... | |
| class | PublicKeyFactory |
| Creates cryptographical public keys. More... | |
| class | SecretKey |
| A secret key. More... | |
Enumerations | |
| enum class | HashAlgorithm : std::int16_t { UNKNOWN = -1 , NONE = 0 , SHA256 = 1 } |
| Currently supported hash algorithms. | |
Functions | |
| HashAlgorithm | toHashAlgorithm (const std::string &algorithm) |
| Converts string representation to HashAlgorithm enum. | |
| const char * | toString (const HashAlgorithm algorithm) |
| Converts HashAlgorithm enum to string representation. | |
Variables | |
| constexpr std::size_t | SHA256_HASH_LENGTH_BYTES = 32 |
| Length of SHA256 hash binary representation in bytes. | |
|
inline |
Converts string representation to HashAlgorithm enum.
| algorithm | string representation of hash algorithm |
|
inline |
Converts HashAlgorithm enum to string representation.
| algorithm | HashAlgorithm enum value |