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

Implement Hash trait for VerifyingKey #265

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

returntoreality
Copy link
Contributor

This is a rebase and improvement of #176. Makes the VeryfyingKey hashable so it can be used as a HashMap key.

@returntoreality
Copy link
Contributor Author

@rozbb I see you pushed some newer changes from the 2.0 release branch. I'll rebase it and run rustfmt again, so the pipeline is happy.

/// [here](https://hdevalence.ca/blog/2020-10-04-its-25519am).
///
/// If you don't care and/or don't want to deal with this, just make sure to use the
/// [`VerifyingKey::verify_strict`] function.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this sentence will not be true until #267 is addressed.

@rozbb
Copy link
Contributor

rozbb commented Jan 17, 2023

Looks great. Thank you for sticking with this PR!

@rozbb rozbb merged commit e1d4ef3 into dalek-cryptography:release/2.0 Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants