Eric Foster d5378345de connection between front end and database | 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.