diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ constexpr uint64_t k(const uint8_t key[8]) { template <int i> struct wrapper { constexpr void operator()() const { - constexpr Blowfish b(variable_key[i], 8); + constexpr Blowfish::Context<8> b(std::to_array(variable_key[i])); constexpr Blowfish::Block x(plaintext_l[i], plaintext_r[i]); constexpr auto y = b.encrypt(x); |