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

Hash trait for <T> #340

Open
GummyGun opened this issue Sep 9, 2023 · 1 comment
Open

Hash trait for <T> #340

GummyGun opened this issue Sep 9, 2023 · 1 comment

Comments

@GummyGun
Copy link

GummyGun commented Sep 9, 2023

wouldn't it be useful to have a trait that can be implemented in any data type that allows to hash a whole data structure without having to turn it into some sort of &[u8] to be hashed

@oconnor663
Copy link
Member

This has come up a few times. There are a lot of tradeoffs to consider, and it's difficult to come up with a one-size-fits-all design: #87 (comment)

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

No branches or pull requests

2 participants