Improved security
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Leonetienne::GCrypt {
|
||||
constexpr std::size_t BLOCK_SIZE = 512;
|
||||
|
||||
// MUST BE > 2
|
||||
constexpr std::size_t N_ROUNDS = 64;
|
||||
constexpr std::size_t N_ROUNDS = 400;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -25,6 +25,9 @@ namespace Leonetienne::GCrypt {
|
||||
//! Will digest a data block, and return it
|
||||
Block Digest(const Block& input);
|
||||
|
||||
//! Will update the base key used
|
||||
void SetKey(const Key& key);
|
||||
|
||||
void operator=(const GCipher& other);
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user