Skip to content

implementing feature for PartialEq and Hash with comparison of Sha256 hashed values for secrets#232

Merged
ramosbugs merged 2 commits intoramosbugs:mainfrom
kate-shine:shine/hashing_state
Sep 11, 2023
Merged

implementing feature for PartialEq and Hash with comparison of Sha256 hashed values for secrets#232
ramosbugs merged 2 commits intoramosbugs:mainfrom
kate-shine:shine/hashing_state

Conversation

@kate-shine
Copy link
Copy Markdown
Contributor

following advice in
#107 (comment)
added a feature that allows safer comparisons of secret values that should be resistant to timing attacks.

@ramosbugs
Copy link
Copy Markdown
Owner

thanks for the PR! I think cargo fmt is complaining about trailing whitespace

@kate-shine
Copy link
Copy Markdown
Contributor Author

thanks for the PR! I think cargo fmt is complaining about trailing whitespace

Thanks, fixed! It might be a good idea to add a more opinionated rustfmt.toml to repo :) I didn't autoformate, because my rustfmt settings changed way more than what my contribution contained.

Thanks for great crates, by the way :) I'm currently using them for MS Entra and it's a super smooth experience.

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.

2 participants