summaryrefslogtreecommitdiff
path: root/textproc/p5-String-Compare-ConstantTime/pkg-descr
blob: b5096b8d9c82763155c5e481c1eeccd133a7d63b (plain) (blame)
1
2
3
4
5
6
7
8
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.

WWW: https://metacpan.org/release/String-Compare-ConstantTime