argonautica
argonautica copied to clipboard
Compare hashes in constant time
This should fix #19 by using the constant_time_eq crate to compare hashes.
I also tried to make verify
more readable by moving duplicated code out of the match arms.
The changes in #31 were used to benchmark both commits. No regressions were found.