温红权 445e940317 主页面导航 9 anni fa
..
lib 445e940317 主页面导航 9 anni fa
test 445e940317 主页面导航 9 anni fa
.npmignore 445e940317 主页面导航 9 anni fa
.travis.yml 445e940317 主页面导航 9 anni fa
LICENSE 445e940317 主页面导航 9 anni fa
README.md 445e940317 主页面导航 9 anni fa
package.json 445e940317 主页面导航 9 anni fa

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.