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
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/cryptiles package

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.

Package Sidebar

Install

npm i cryptiles

Weekly Downloads

835,947

Version

4.1.3

License

BSD-3-Clause

Unpacked Size

4.39 kB

Total Files

5

Last publish

Collaborators

  • devinivy
  • marsup
  • nargonath
  • nlf