-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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: show example of 16-byte key #3537
Labels
Milestone
Comments
This amounts to not supporting DES-EDE2, only DES-EDE3 +agl for an opinion on whether we want to do that. It is unclear to me - it appears that Java does not support it either, and it is trivial for clients who want to use less key to expand it before using our 3DES. Labels changed: added priority-later, removed priority-triage. Status changed to Thinking. |
As an example, sometimes i have to take some code written in C# and have the pleasure to write it in Go. The problem here is that the C# code it's using a 16 byte key and the encrypted text it's in a file, and i wanted to decrypt that using Go. Thanks for the short reply (considering the amount of work you have). |
Thanks for the short reply (considering the amount of work you have). As an example, sometimes i have to take some code written in C# and have the pleasure to write it in Go. The problem here is that the C# code it's using a 16 byte key to decrypt an existing text that's in a file, and i wanted to decrypt that text using Go. |
As rsc points out, the workaround is easy. If lots of people will be using it then it's worth putting in the standard library. However, DES-EDE2 is very obscure and it might well be that you're the only person who needs it. In that case, it's obviously better if you carry the code yourself. |
This issue was closed by revision 8f1d170. Status changed to Fixed. |
gopherbot
added
fixed
Suggested
Issues that may be good for new contributors looking for work to do.
labels
Dec 22, 2012
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
by visan.ovidiu:
The text was updated successfully, but these errors were encountered: