BLAKE3-team / BLAKE3

the official Rust and C implementations of the BLAKE3 cryptographic hash function
Apache License 2.0
4.71k stars 315 forks source link

Implement Ord and PartialOrd for Hash #370

Open DBLouis opened 5 months ago

DBLouis commented 5 months ago

This removes the dependencies on constant_time_eq and replaces it with subtle.

202

joshtriplett commented 1 month ago

As far as I can tell, this implementation of cmp and partial_cmp doesn't seem to allow for the possibility of equality.

DBLouis commented 1 month ago

It should be good now, I think 🤔