medium-to-markdown/node_modules/cryptiles
David Tesler 9bd1ed72ce first commit 2017-04-28 17:26:30 -07:00
..
lib first commit 2017-04-28 17:26:30 -07:00
test first commit 2017-04-28 17:26:30 -07:00
.npmignore first commit 2017-04-28 17:26:30 -07:00
.travis.yml first commit 2017-04-28 17:26:30 -07:00
LICENSE first commit 2017-04-28 17:26:30 -07:00
README.md first commit 2017-04-28 17:26:30 -07:00
package.json first commit 2017-04-28 17:26:30 -07: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.