-
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: panics on incorrect block size #4991
Labels
Comments
this is definitely a programming error so a panic is appropriate here. (normally user shouldn't use cryptographic primitives like des directly, and if they do use, they should know the basics) we should add the documentation to crypto/cipher.Block that invalid src and dst byte slice will cause panic. |
Over to agl to decide. Labels changed: removed priority-triage. Owner changed to @agl. Status changed to Accepted. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: