-
Notifications
You must be signed in to change notification settings - Fork 45
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
New padding rule for RPX #236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you! I left a couple of comments inline.
I have kept the old padding rule when hashing bytes so as to avoid the security degradation. On the other hand, there is also a case for uniformity so maybe we should also change it to the new padding rule.
I'm actually not sure if the old padding rule works as intended here - but if it does, we should be able to modify it in the same way and security would go down by the same 3 bits (i.e., to 125 bits), right?
76a82ea
to
4c27ebe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you! I left a couple of small comments inline.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good! Thank you!
* feat: new padding rule for RPX * fix: documentation on security
Describe your changes
Addresses #203
I have kept the old padding rule when hashing bytes so as to avoid the security degradation. On the other hand, there is also a case for uniformity so maybe we should also change it to the new padding rule.
Checklist before requesting a review
next
according to naming convention.