Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/cryptiles/README.md')
-rw-r--r--node_modules/cryptiles/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/cryptiles/README.md b/node_modules/cryptiles/README.md
new file mode 100644
index 000000000..be943f8ec
--- /dev/null
+++ b/node_modules/cryptiles/README.md
@@ -0,0 +1,14 @@
+cryptiles
+=========
+
+General purpose crypto utilities
+
+[![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles)
+
+## 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.