frappe_docker/frappe-bench/node_modules/cryptiles
2017-07-31 15:51:51 +05:30
..
lib Final docker setup 2017-07-31 15:51:51 +05:30
test Final docker setup 2017-07-31 15:51:51 +05:30
.npmignore Final docker setup 2017-07-31 15:51:51 +05:30
.travis.yml Final docker setup 2017-07-31 15:51:51 +05:30
LICENSE Final docker setup 2017-07-31 15:51:51 +05:30
package.json Final docker setup 2017-07-31 15:51:51 +05:30
README.md Final docker setup 2017-07-31 15:51:51 +05:30

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.