Eric Foster 35b96bc934 initial commit 6 лет назад
..
lib initial commit 6 лет назад
test initial commit 6 лет назад
.npmignore initial commit 6 лет назад
.travis.yml initial commit 6 лет назад
LICENSE initial commit 6 лет назад
README.md initial commit 6 лет назад
package.json initial commit 6 лет назад

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.