crypto-browserify
implementation of crypto for the browser
Last updated 3 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install crypto-browserify 
SYNC missed versions from official npm registry.

crypto-browserify

A port of node's crypto module to the browser.

Build Status js-standard-style Sauce Test Status

The goal of this module is to reimplement node's crypto module, in pure javascript so that it can run in the browser.

Here is the subset that is currently implemented:

  • createHash (sha1, sha224, sha256, sha384, sha512, md5, rmd160)
  • createHmac (sha1, sha224, sha256, sha384, sha512, md5, rmd160)
  • pbkdf2
  • pbkdf2Sync
  • randomBytes
  • pseudoRandomBytes
  • createCipher (aes)
  • createDecipher (aes)
  • createDiffieHellman
  • createSign (rsa, ecdsa)
  • createVerify (rsa, ecdsa)
  • createECDH (secp256k1)
  • publicEncrypt/privateDecrypt (rsa)
  • privateEncrypt/publicDecrypt (rsa)

todo

these features from node's crypto are still unimplemented.

  • createCredentials

contributions

If you are interested in writing a feature, please implement as a new module, which will be incorporated into crypto-browserify as a dependency.

All deps must be compatible with node's crypto (generate example inputs and outputs with node, and save base64 strings inside JSON, so that tests can run in the browser. see sha.js

Crypto is extra serious so please do not hesitate to review the code, and post comments if you do.

License

MIT

Current Tags

  • 3.12.0                                ...           latest (3 years ago)

75 Versions

  • 3.12.0                                ...           3 years ago
  • 3.11.1                                ...           3 years ago
  • 3.11.0                                ...           5 years ago
  • 3.10.0                                ...           5 years ago
  • 3.9.14                                ...           5 years ago
  • 3.9.13                                ...           5 years ago
  • 3.9.12                                ...           5 years ago
  • 3.9.11                                ...           5 years ago
  • 3.9.10                                ...           5 years ago
  • 3.9.9                                ...           5 years ago
  • 3.9.8                                ...           5 years ago
  • 3.9.7                                ...           5 years ago
  • 3.9.6                                ...           5 years ago
  • 3.9.4                                ...           5 years ago
  • 3.9.3                                ...           5 years ago
  • 3.9.2                                ...           5 years ago
  • 3.9.1                                ...           5 years ago
  • 3.9.0                                ...           6 years ago
  • 3.8.3                                ...           6 years ago
  • 3.8.1                                ...           6 years ago
  • 3.8.0                                ...           6 years ago
  • 3.7.2                                ...           6 years ago
  • 3.7.1                                ...           6 years ago
  • 3.7.0                                ...           6 years ago
  • 3.6.0                                ...           6 years ago
  • 3.5.1                                ...           6 years ago
  • 3.5.0                                ...           6 years ago
  • 3.4.3                                ...           6 years ago
  • 3.4.1                                ...           6 years ago
  • 3.4.0                                ...           6 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.8                                ...           6 years ago
  • 3.2.7                                ...           6 years ago
  • 3.2.6                                ...           6 years ago
  • 3.2.5                                ...           6 years ago
  • 3.2.4                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.1.10                                ...           6 years ago
  • 2.1.8                                ...           6 years ago
  • 2.1.7                                ...           6 years ago
  • 2.1.6                                ...           6 years ago
  • 2.1.5                                ...           6 years ago
  • 2.1.4                                ...           6 years ago
  • 2.1.3                                ...           6 years ago
  • 2.1.2                                ...           6 years ago
  • 2.1.1                                ...           6 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.0                                ...           7 years ago
  • 1.0.9                                ...           7 years ago
  • 1.0.8                                ...           7 years ago
  • 1.0.7                                ...           7 years ago
  • 1.0.6                                ...           7 years ago
  • 1.0.5                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.3                                ...           7 years ago
  • 0.2.2                                ...           7 years ago
  • 0.2.1                                ...           8 years ago
  • 0.2.0                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Downloads
Today 17,207
This Week 48,395
This Month 159,478
Last Day 31,188
Last Week 173,405
Last Month 728,129
Dependencies (11)
Dev Dependencies (6)
Dependents (460)

Copyright 2014 - 2016 © taobao.org |