./textproc/p5-String-Compare-ConstantTime, Perl5 module for timing side-channel protected string compare

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q2, Version: 0.321, Package name: p5-String-Compare-ConstantTime-0.321, Maintainer: pkgsrc-users

This 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.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: b0e7bceb9d490b79a92c4b6a413195949babfeb5
RMD160: a81d9253ec91a0fe2ec03400680ab44ce2539e93
Filesize: 6.39 KB

Version history: (Expand)