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

#34 in Cryptography

Download history 254990/week @ 2023-12-23 396810/week @ 2023-12-30 517090/week @ 2024-01-06 556098/week @ 2024-01-13 587917/week @ 2024-01-20 608666/week @ 2024-01-27 617784/week @ 2024-02-03 638887/week @ 2024-02-10 614107/week @ 2024-02-17 665032/week @ 2024-02-24 664855/week @ 2024-03-02 658815/week @ 2024-03-09 673479/week @ 2024-03-16 669807/week @ 2024-03-23 746238/week @ 2024-03-30 592274/week @ 2024-04-06

2,790,059 downloads per month
Used in 4,504 crates (55 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