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

crypto/des: invalid key size 64 #21142

Closed
gocuntian opened this issue Jul 24, 2017 · 1 comment
Closed

crypto/des: invalid key size 64 #21142

gocuntian opened this issue Jul 24, 2017 · 1 comment

Comments

@gocuntian
Copy link

crypto/des: invalid key size 64

Key length 64 bit how to encrypt through des?

@ALTree
Copy link
Member

ALTree commented Jul 24, 2017

DES requires keysize = 8 and tripleDES requires keysize = 24. Every other key size will raise a KeySizeError.

Plese note that the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.

Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!

Closing, since this is not a bug.

@ALTree ALTree closed this as completed Jul 24, 2017
@golang golang locked and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants