cryptiles

General purpose crypto utilities

This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Last updated 6 years ago by hueniverse .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install cryptiles 
SYNC missed versions from official npm registry.

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.

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.

Current Tags

  • 4.1.3                                ...           latest (6 years ago)
  • 3.1.4                                ...           lts (6 years ago)
  • 3.2.1                                ...           v3-legacy (10 months ago)

33 Versions

  • 3.2.1 [deprecated]           ...           10 months ago
  • 3.1.4 [deprecated]           ...           6 years ago
  • 4.1.3 [deprecated]           ...           6 years ago
  • 3.1.3 [deprecated]           ...           6 years ago
  • 4.1.2 [deprecated]           ...           6 years ago
  • 4.1.1 [deprecated]           ...           7 years ago
  • 4.1.0 [deprecated]           ...           7 years ago
  • 4.0.2 [deprecated]           ...           7 years ago
  • 4.0.1 [deprecated]           ...           7 years ago
  • 4.0.0 [deprecated]           ...           7 years ago
  • 3.1.2 [deprecated]           ...           7 years ago
  • 3.1.1 [deprecated]           ...           8 years ago
  • 3.1.0 [deprecated]           ...           8 years ago
  • 3.0.2 [deprecated]           ...           8 years ago
  • 3.0.1 [deprecated]           ...           8 years ago
  • 3.0.0 [deprecated]           ...           9 years ago
  • 2.0.5 [deprecated]           ...           9 years ago
  • 2.0.4 [deprecated]           ...           10 years ago
  • 2.0.3 [deprecated]           ...           10 years ago
  • 2.0.2 [deprecated]           ...           10 years ago
  • 2.0.1 [deprecated]           ...           11 years ago
  • 2.0.0 [deprecated]           ...           11 years ago
  • 1.0.1 [deprecated]           ...           11 years ago
  • 1.0.0 [deprecated]           ...           11 years ago
  • 0.2.2 [deprecated]           ...           11 years ago
  • 0.2.1 [deprecated]           ...           12 years ago
  • 0.2.0 [deprecated]           ...           12 years ago
  • 0.1.3 [deprecated]           ...           12 years ago
  • 0.1.2 [deprecated]           ...           12 years ago
  • 0.1.1 [deprecated]           ...           12 years ago
  • 0.1.0 [deprecated]           ...           12 years ago
  • 0.0.2 [deprecated]           ...           12 years ago
  • 0.0.1 [deprecated]           ...           12 years ago
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE