cryptiles / 3.0.2 last updated 4 days ago created on Jan 13th 2013
Install
npm install --save cryptiles
Clone
git clone git@github.com:hapijs/cryptiles.git
dependencies
| main |
|
boom | 3.2.2 | BSD 3-Clause |
maintainers
hueniverse
ceejbot
versions
20 total
| 3.0.2 | 4 days ago | hueniverse |
| 3.0.1 | 2 months ago | hueniverse |
| 3.0.0 | 9 months ago | hueniverse |
| 2.0.5 | a year ago | hueniverse |
| 2.0.4 | 2 years ago | hueniverse |
| 2.0.3 | 2 years ago | hueniverse |
| 2.0.2 | 2 years ago | hueniverse |
| 2.0.1 | 2 years ago | hueniverse |
| 2.0.0 | 3 years ago | hueniverse |
| 1.0.1 | 3 years ago | hueniverse |
| 1.0.0 | 3 years ago | hueniverse |
| 0.2.2 | 3 years ago | hueniverse |
| 0.2.1 | 3 years ago | hueniverse |
| 0.2.0 | 3 years ago | hueniverse |
| 0.1.3 | 3 years ago | hueniverse |
| 0.1.2 | 3 years ago | hueniverse |
| 0.1.1 | 3 years ago | hueniverse |
| 0.1.0 | 3 years ago | hueniverse |
| 0.0.2 | 3 years ago | hueniverse |
| 0.0.1 | 4 years ago | hueniverse |
readme
cryptiles
General purpose crypto utilities
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.
