DesEncryptor/DesDecryptor: expose key type.
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 1m57s
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 1m57s
This commit is contained in:
@@ -233,6 +233,7 @@ public:
|
|||||||
class DesEncryptor : public Encryptor<DesEncryptor>
|
class DesEncryptor : public Encryptor<DesEncryptor>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
using Key = DesCrypt::Key;
|
||||||
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
||||||
static constexpr size_t KeySize = DesCrypt::KeySize;
|
static constexpr size_t KeySize = DesCrypt::KeySize;
|
||||||
|
|
||||||
@@ -277,6 +278,7 @@ public:
|
|||||||
class DesDecryptor : public Decryptor<DesDecryptor>
|
class DesDecryptor : public Decryptor<DesDecryptor>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
using Key = DesCrypt::Key;
|
||||||
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
||||||
static constexpr size_t KeySize = DesCrypt::KeySize;
|
static constexpr size_t KeySize = DesCrypt::KeySize;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user