pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/p5-String-Compare-ConstantTime



Module Name:    pkgsrc
Committed By:   sno
Date:           Wed Jul  3 16:13:38 UTC 2013

Added Files:
        pkgsrc/textproc/p5-String-Compare-ConstantTime: DESCR Makefile distinfo

Log Message:
Adding package for CPAN distribution String-Compare-ConstantTime version
0.300 into textproc/p5-String-Compare-ConstantTime.

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. Also, comparing two identical strings will take a
different amount of time than comparing two differing strings.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/p5-String-Compare-ConstantTime/DESCR \
    pkgsrc/textproc/p5-String-Compare-ConstantTime/Makefile \
    pkgsrc/textproc/p5-String-Compare-ConstantTime/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index