GHash now uses a full-size key for the cipher
This commit is contained in:
parent
fe6ec11672
commit
bedfc91e04
@ -9,7 +9,7 @@ namespace Leonetienne::GCrypt {
|
||||
cipher(
|
||||
// Can't use Key::FromPassword here, because it depends on GHash.
|
||||
// Instead use a hardcoded key.
|
||||
Key(StringToBitblock("CfRtNdMTP4Y5CWRd")),
|
||||
Key(StringToBitblock("nsoCZfvdqpRkeVTt9wzvPR3TT26peOW9E2kTHh3pdPCq2M7BpskvUljJHSrobUTI")),
|
||||
GCipher::DIRECTION::ENCIPHER
|
||||
) {
|
||||
block = InitializationVector(StringToBitblock("3J7IipfQTDJbO8jtasz9PgWui6faPaEMOuVuAqyhB1S2CRcLw5caawewgDUEG1WN"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user