|
|
il y a 7 ans | |
|---|---|---|
| .. | ||
| lib | il y a 7 ans | |
| test | il y a 7 ans | |
| .npmignore | il y a 7 ans | |
| .travis.yml | il y a 7 ans | |
| LICENSE | il y a 7 ans | |
| README.md | il y a 7 ans | |
| package.json | il y a 7 ans | |
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.