Path to this page:
./
textproc/p5-String-Compare-ConstantTime,
Perl5 module for timing side-channel protected string compare
Branch: pkgsrc-2017Q1,
Version: 0.311nb1,
Package name: p5-String-Compare-ConstantTime-0.311nb1,
Maintainer: pkgsrc-usersThis module provides one function, equals (not exported by default).
You should pass this function two strings of the same length. 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.
NOTE: If the lengths of the strings are different, equals will return
false right away. Also, comparing two identical strings will take a
different amount of time than comparing two differing strings.
Required to run:[
lang/perl5]
Master sites: (Expand)
SHA1: fb2b9938e977ed81c440067e92ecc6641e165163
RMD160: 443271378ce3e210b8211f7df2e21954c01f75a9
Filesize: 5.502 KB
Version history: (Expand)
- (2017-04-04) Package added to pkgsrc.se, version p5-String-Compare-ConstantTime-0.311nb1 (created)