pixsy/node_modules/cryptiles
synth-ruiner 495f1d958e initial 2017-12-22 17:22:08 +00:00
..
lib initial 2017-12-22 17:22:08 +00:00
test initial 2017-12-22 17:22:08 +00:00
.npmignore initial 2017-12-22 17:22:08 +00:00
.travis.yml initial 2017-12-22 17:22:08 +00:00
LICENSE initial 2017-12-22 17:22:08 +00:00
README.md initial 2017-12-22 17:22:08 +00:00
package.json initial 2017-12-22 17:22:08 +00:00

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.