-
Notifications
You must be signed in to change notification settings - Fork 10
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
Audit seahash #66
Comments
From a cursory look, it seems to have 5 unsafe blocks:
It does not have any dependencies, so there is nothing to audit with regards to deps I also ran the tests under miri and they all passed In summary, as far as I can tell the crate is sound (Outside of (5) which I did not look into), but can probably be improved a bit with comments and smaller unsafe blocks. Another thing we might wanna do is check if we can replace unsafe code with safe alternatives without performance regressions. The crate has criterion benchmarks which should make that easier to attempt |
I'm pretty sure point 1 can be refactored using |
Seahash is an implementation of a fast non-cryptographic hashing algorithm, comparable to xxHash or MetroHash.
https://gitlab.redox-os.org/redox-os/seahash
The text was updated successfully, but these errors were encountered: