Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 7 سال پیش | |
---|---|---|
.. | ||
lib | 7 سال پیش | |
test | 7 سال پیش | |
.npmignore | 7 سال پیش | |
.travis.yml | 7 سال پیش | |
LICENSE | 7 سال پیش | |
README.md | 7 سال پیش | |
package.json | 7 سال پیش |
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.