constant_time_eq

Crates.ioconstant_time_eq
lib.rsconstant_time_eq
version0.4.2
created_at2015-05-22 02:07:15.678036+00
updated_at2025-03-15 17:03:47.885264+00
descriptionCompares two equal-sized byte strings in constant time.
homepage
repositoryhttps://github.com/cesarb/constant_time_eq
max_upload_size
id2168
size115,863
Cesar Eduardo Barros (cesarb)

documentation

https://docs.rs/constant_time_eq

README

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.

Commit count: 55

cargo fmt