kubernetes-handbook/cryptiles
rootsongjc cd11aa375a deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
..
lib deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
test deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
.npmignore deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
.travis.yml deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
LICENSE deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
README.md deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
package.json deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00

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.