13 releases

0.3.0 Jun 17, 2023
0.2.5 Mar 12, 2023
0.2.4 Jul 25, 2022
0.2.1 Mar 25, 2022
0.1.0 May 22, 2015

#33 in Cryptography

Download history 488168/week @ 2024-01-03 518743/week @ 2024-01-10 599543/week @ 2024-01-17 581051/week @ 2024-01-24 620342/week @ 2024-01-31 625629/week @ 2024-02-07 620581/week @ 2024-02-14 648847/week @ 2024-02-21 666555/week @ 2024-02-28 659225/week @ 2024-03-06 666730/week @ 2024-03-13 682784/week @ 2024-03-20 663538/week @ 2024-03-27 755515/week @ 2024-04-03 713762/week @ 2024-04-10 617438/week @ 2024-04-17

2,872,589 downloads per month
Used in 4,525 crates (54 directly)

CC0-1.0 OR MIT-0 OR Apache-2.0

12KB
128 lines

Compares two equal-sized byte strings in constant time.

Inspired by the Linux kernel's crypto_memneq.

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE)
  • MIT No Attribution License (LICENSE-MIT0)
  • CC0 1.0 Universal (LICENSE-CC0)

at your option.

No runtime deps