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/
10 lines
612 B
Text
10 lines
612 B
Text
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/.packlist
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.bs
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.so
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/README.pod
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/ConstantTime.pm
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String/Compare
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String
|
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String
|