Portfolio/node_modules/cryptiles
Repository files (latest commit first)
Filename Latest commit message Latest commit date
oitsjustjose 4e066bffc9 Init
2017-02-25 03:50:31 -05:00
..
lib Init 2017-02-25 03:50:31 -05:00
test Init 2017-02-25 03:50:31 -05:00
.npmignore Init 2017-02-25 03:50:31 -05:00
.travis.yml Init 2017-02-25 03:50:31 -05:00
LICENSE Init 2017-02-25 03:50:31 -05:00
package.json Init 2017-02-25 03:50:31 -05:00
README.md Init 2017-02-25 03:50:31 -05: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.