get-random-values

`window.crypto.getRandomValues` with fallback to Node.js crypto

MIT License

Downloads
615.8K
Stars
18
Committers
4

Bot releases are hidden (Show)

get-random-values -

Published by kenany almost 9 years ago

  • #4: A TypeError is now thrown if you attempt to use Node.js crypto on anything but an Uint8Array
  • #6: Mutated array/buffer is now returned
  • #7: Added a missing semicolon
  • #8: tape@^4.4.0
  • #9: lodash.foreach@^3.0.3
  • #10: lodash.isfunction@^3.0.6
  • #11: Removed testling stuff
  • #12: Updated copyright year
get-random-values -

Published by kenany about 10 years ago

  • Fixed bug where browsers without crypto would try to use require('crypto').randomBytes
  • Removed extra semicolon
  • testling
get-random-values -

Published by kenany about 10 years ago

  • #3: Removed broquire dependency is favor of the browser field in package.json. This means one less dependency whilst still preventing browserify from shimming Node.js crypto.
get-random-values -

Published by kenany about 10 years ago

  • #1: Added .travis.yml and build status badge
  • #2: Added Gemnasium dependency status badge
get-random-values -

Published by kenany about 10 years ago

Initial release