Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max key size 56? #12

Closed
codeorganic opened this issue Mar 22, 2015 · 2 comments
Closed

max key size 56? #12

codeorganic opened this issue Mar 22, 2015 · 2 comments
Labels

Comments

@codeorganic
Copy link

Why is the max key size 56?

@jashandeep-sohi
Copy link
Owner

Because that's what the spec say: "between 32 and 448 bits". So, that's between 4 and 56 bytes.

Now, if you are asking a deeper question of why cryptographically it is limited to 56 bytes, you might find the answer in the Blowfish paper at https://www.schneier.com/paper-blowfish-fse.html

@codeorganic
Copy link
Author

Perfect! Thanks for that URL it makes a lot of sense. The 56 threw me off guard because many of the other libraries outside of python do not have this requirement in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants