LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
des_cipher.hpp
Go to the documentation of this file.
1
7#ifndef DES_CIPHER_HPP
8#define DES_CIPHER_HPP
9
11
12namespace logicalaccess
13{
14namespace openssl
15{
22class LLA_CRYPTO_API DESCipher : public OpenSSLSymmetricCipher
23{
24 public:
29 explicit DESCipher(EncMode _mode = ENC_MODE_CBC)
31 {
32 }
33
34 unsigned char getBlockSize() const override;
35
36 protected:
42 const EVP_CIPHER *getEVPCipher(const SymmetricKey &key) const override;
43};
44}
45}
46
47#endif /* AES_CIPHER_HPP */
A DES cipher.
Definition: des_cipher.hpp:23
DESCipher(EncMode _mode=ENC_MODE_CBC)
Constructor.
Definition: des_cipher.hpp:29
A OpenSSL symmetric cipher base class.
Definition: openssl_symmetric_cipher.hpp:33
EncMode
Encryption mode.
Definition: openssl_symmetric_cipher.hpp:39
An immutable symmetric key.
Definition: symmetric_key.hpp:27
Definition: asn1.hpp:9
OpenSSL symmetric cipher base class.