jack e1a2621c78 update 2 years ago
..
lib e1a2621c78 update 2 years ago
test e1a2621c78 update 2 years ago
.npmignore e1a2621c78 update 2 years ago
.travis.yml e1a2621c78 update 2 years ago
LICENSE e1a2621c78 update 2 years ago
README.md e1a2621c78 update 2 years ago
package.json e1a2621c78 update 2 years ago

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.