UNPKG

595 BMarkdownView Raw
1cryptiles
2=========
3
4General purpose crypto utilities
5
6[![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles)
7
8Lead Maintainer - [Eran Hammer](https://github.com/hueniverse)
9
10## Methods
11
12### `randomString(<Number> size)`
13Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.
14
15### `randomDigits(<Number> size)`
16Returns a cryptographically strong pseudo-random data string consisting of only numerical digits (0-9). Takes a size argument for the length of the string.