mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
8964260749
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: http://search.cpan.org/dist/String-Compare-ConstantTime/
9 lines
375 B
Plaintext
9 lines
375 B
Plaintext
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: http://search.cpan.org/dist/String-Compare-ConstantTime/
|