tree: 3b52bf6e20baf8e18caefdfbf809a61d8519861f [path history] [tgz]
  1. lib/
  2. test/
  3. .npmignore
  4. .travis.yml
  5. LICENSE
  6. package.json
  7. README.md
node_modules/cryptiles/README.md

cryptiles

General purpose crypto utilities

Build Status

Lead Maintainer - C J Silverio

Methods

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.