Eric Foster d5378345de connection between front end and database | 6 vuotta sitten | |
---|---|---|
.. | ||
lib | 6 vuotta sitten | |
test | 6 vuotta sitten | |
.npmignore | 6 vuotta sitten | |
.travis.yml | 6 vuotta sitten | |
LICENSE | 6 vuotta sitten | |
README.md | 6 vuotta sitten | |
package.json | 6 vuotta sitten |
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.