diff options
| author | Arman Shah <[email protected]> | 2018-02-19 23:50:04 -0800 |
|---|---|---|
| committer | Arman Shah <[email protected]> | 2018-02-19 23:50:04 -0800 |
| commit | ae34dcfd3823a609ba7182f2d6eda593be876f7d (patch) | |
| tree | b9d7f2884c4999349418cbdc4f9ab46d113e0afd /node_modules/cryptiles/README.md | |
| parent | Initial commit (diff) | |
| download | launcher-ae34dcfd3823a609ba7182f2d6eda593be876f7d.tar.xz launcher-ae34dcfd3823a609ba7182f2d6eda593be876f7d.zip | |
add base files
Diffstat (limited to 'node_modules/cryptiles/README.md')
| -rwxr-xr-x | node_modules/cryptiles/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/node_modules/cryptiles/README.md b/node_modules/cryptiles/README.md new file mode 100755 index 0000000..b3df9e6 --- /dev/null +++ b/node_modules/cryptiles/README.md @@ -0,0 +1,19 @@ +cryptiles +========= + +General purpose crypto utilities + +[](http://travis-ci.org/hapijs/cryptiles) + +Lead Maintainer - [C J Silverio](https://github.com/ceejbot) + +## Methods + +### `randomString(<Number> size)` +Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string. + +### `randomDigits(<Number> size)` +Returns a cryptographically strong pseudo-random data string consisting of only numerical digits (0-9). 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. |