This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/node_modules/csurf/node_modules/csrf/node_modules/rndm
Timothy Warren 21e43fa553 Add csrf module 2014-09-24 17:56:53 -04:00
..
.npmignore Add csrf module 2014-09-24 17:56:53 -04:00
LICENSE Add csrf module 2014-09-24 17:56:53 -04:00
README.md Add csrf module 2014-09-24 17:56:53 -04:00
index.js Add csrf module 2014-09-24 17:56:53 -04:00
package.json Add csrf module 2014-09-24 17:56:53 -04:00

README.md

RNDM

Random string generator. Basically Math.random().toString(36).slice(2), but with both upper and lower case letters and arbitrary lengths. Useful for creating fast, not cryptographically secure salts.

API

import rndm from 'rndm@1'

var salt = rndm(16)