Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 7 gadi atpakaļ | |
---|---|---|
.. | ||
lib | 7 gadi atpakaļ | |
test | 7 gadi atpakaļ | |
.npmignore | 7 gadi atpakaļ | |
.travis.yml | 7 gadi atpakaļ | |
LICENSE | 7 gadi atpakaļ | |
README.md | 7 gadi atpakaļ | |
package.json | 7 gadi atpakaļ |
General purpose crypto utilities
Lead Maintainer - C J Silverio
randomString(<Number> size)
Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.
fixedTimeComparison(<String> a, <String> b)
Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns true
if the strings match, false
if they differ.