Haha-Yes/node_modules/lzma-native/node_modules/cryptiles
2018-09-09 21:20:36 +02:00
..
lib commando 2018-09-09 21:20:36 +02:00
test commando 2018-09-09 21:20:36 +02:00
.npmignore commando 2018-09-09 21:20:36 +02:00
.travis.yml commando 2018-09-09 21:20:36 +02:00
LICENSE commando 2018-09-09 21:20:36 +02:00
README.md commando 2018-09-09 21:20:36 +02:00

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.