libstring-compare-constanttime-perl

Module for protecting string comparison from timing attacks
  https://metacpan.org/release/String-Compare-ConstantTime
  0
  no reviews



String::compare::constanttime provides one function, equals(), which takes two strings of the same lengh as arguments. it will return true if they are string-wise identical and false otherwise, just like eq. however, comparing any two differing strings will take a fixed amount of time, unlike eq.