crypto-browserify
partial implementation of crypto for the browser
Last updated 10 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm 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 (7 years ago)

75 Versions

  • 3.12.0                                ...           7 years ago
  • 3.11.1                                ...           7 years ago
  • 3.11.0                                ...           9 years ago
  • 3.10.0                                ...           9 years ago
  • 3.9.14                                ...           10 years ago
  • 3.9.13                                ...           10 years ago
  • 3.9.12                                ...           10 years ago
  • 3.9.11                                ...           10 years ago
  • 3.9.10                                ...           10 years ago
  • 3.9.9                                ...           10 years ago
  • 3.9.8                                ...           10 years ago
  • 3.9.7                                ...           10 years ago
  • 3.9.6                                ...           10 years ago
  • 3.9.4                                ...           10 years ago
  • 3.9.3                                ...           10 years ago
  • 3.9.2                                ...           10 years ago
  • 3.9.1                                ...           10 years ago
  • 3.9.0                                ...           10 years ago
  • 3.8.3                                ...           10 years ago
  • 3.8.1                                ...           10 years ago
  • 3.8.0                                ...           10 years ago
  • 3.7.2                                ...           10 years ago
  • 3.7.1                                ...           10 years ago
  • 3.7.0                                ...           10 years ago
  • 3.6.0                                ...           10 years ago
  • 3.5.1                                ...           10 years ago
  • 3.5.0                                ...           10 years ago
  • 3.4.3                                ...           10 years ago
  • 3.4.1                                ...           10 years ago
  • 3.4.0                                ...           10 years ago
  • 3.3.0                                ...           10 years ago
  • 3.2.8                                ...           10 years ago
  • 3.2.7                                ...           10 years ago
  • 3.2.6                                ...           10 years ago
  • 3.2.5                                ...           10 years ago
  • 3.2.4                                ...           10 years ago
  • 3.2.2                                ...           10 years ago
  • 3.2.1                                ...           10 years ago
  • 3.2.0                                ...           10 years ago
  • 3.1.0                                ...           10 years ago
  • 3.0.2                                ...           10 years ago
  • 3.0.1                                ...           10 years ago
  • 3.0.0                                ...           10 years ago
  • 2.1.10                                ...           10 years ago
  • 2.1.8                                ...           11 years ago
  • 2.1.7                                ...           11 years ago
  • 2.1.6                                ...           11 years ago
  • 2.1.5                                ...           11 years ago
  • 2.1.4                                ...           11 years ago
  • 2.1.3                                ...           11 years ago
  • 2.1.2                                ...           11 years ago
  • 2.1.1                                ...           11 years ago
  • 2.1.0                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 1.0.9                                ...           11 years ago
  • 1.0.8                                ...           11 years ago
  • 1.0.7                                ...           11 years ago
  • 1.0.6                                ...           11 years ago
  • 1.0.5                                ...           11 years ago
  • 1.0.4                                ...           11 years ago
  • 1.0.3                                ...           11 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.4.0                                ...           11 years ago
  • 0.3.0                                ...           11 years ago
  • 0.2.3                                ...           12 years ago
  • 0.2.2                                ...           12 years ago
  • 0.2.1                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.1                                ...           13 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 49
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE