Eric Foster 35b96bc934 initial commit | 6 年前 | |
---|---|---|
.. | ||
lib | 6 年前 | |
test | 6 年前 | |
.npmignore | 6 年前 | |
.travis.yml | 6 年前 | |
LICENSE | 6 年前 | |
README.md | 6 年前 | |
package.json | 6 年前 |
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.