JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 97403
  • Score
    100M100P100Q155653F
  • License MIT

Normalize the creation of cryptographically strong random values.

Package Exports

  • secure-random

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (secure-random) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

secure-random

A simple JavaScript component to normalize the creation of cryptographically strong random values.

Why?

Context switching between the browser and Node.js and creating cryptographically secure random numbers is annoying. This normalizes the behavior. Used by cryptocoinjs

Install

Node.js/Browserify

npm install --save secure-random

Component

component install jprichardson/secure-random

Bower

bower install secure-random

Script

<script src="/path/to/secure-random.js"></script>

Usage

Example

References

License

(MIT License)

Copyright 2013, JP Richardson