Skip to content

Commit

Permalink
fix Blowfish minimum keylength to be 4 bytes (32 bits)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidai11 committed May 12, 2011
1 parent 97cf1c8 commit fecbd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blowfish.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
NAMESPACE_BEGIN(CryptoPP)

//! _
struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 1, 56>, public FixedRounds<16>
struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 4, 56>, public FixedRounds<16>
{
static const char *StaticAlgorithmName() {return "Blowfish";}
};
Expand Down

0 comments on commit fecbd5b

Please sign in to comment.