diff --git a/generator.cpp b/generator.cpp index 85793ea..0a14999 100644 --- a/generator.cpp +++ b/generator.cpp @@ -4,7 +4,6 @@ #include "generator.h" #include "util.h" -#include #include #include #include @@ -77,12 +76,6 @@ auto Generator::do_crypto() -> std::string { using CryptoPP::Serpent; using CryptoPP::CTR_Mode; - CryptoPP::AutoSeededRandomPool prng; - // use 256bit key - CryptoPP::SecByteBlock key(CryptoPP::Serpent::MAX_KEYLENGTH); - - prng.GenerateBlock(key,key.size()); - // William Shakespeare, Romeo and Juliet std::string plain{"Oh, I am fortune's fool!"}; std::string cipher, encoded_c;