ez-indexation / app / node_modules / cryptiles /
@kieffer kieffer authored on 7 Mar 2017
..
lib v0.0.0 7 years ago
test v0.0.0 7 years ago
.npmignore v0.0.0 7 years ago
.travis.yml v0.0.0 7 years ago
LICENSE v0.0.0 7 years ago
README.md v0.0.0 7 years ago
package.json v0.0.0 7 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.