Need private packages and team management tools?Check out npm Teams »

This package has been deprecated

Author message:

This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

cryptiles

4.1.3 • Public • Published

cryptiles

General purpose crypto utilities

Build Status

Lead Maintainer - Eran Hammer

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.

Install

npm i cryptiles

DownloadsWeekly Downloads

2,633,726

Version

4.1.3

License

BSD-3-Clause

Unpacked Size

4.39 kB

Total Files

5

Last publish

Collaborators

  • avatar