crypto-browserify

WebJar for crypto-browserify

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

crypto-browserify
Last Version

Last Version

3.12.0
Release Date

Release Date

Type

Type

jar
Description

Description

crypto-browserify
WebJar for crypto-browserify
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/crypto-browserify/crypto-browserify

Download crypto-browserify

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/crypto-browserify/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>crypto-browserify</artifactId>
    <version>3.12.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/crypto-browserify/
implementation 'org.webjars.npm:crypto-browserify:3.12.0'
// https://jarcasting.com/artifacts/org.webjars.npm/crypto-browserify/
implementation ("org.webjars.npm:crypto-browserify:3.12.0")
'org.webjars.npm:crypto-browserify:jar:3.12.0'
<dependency org="org.webjars.npm" name="crypto-browserify" rev="3.12.0">
  <artifact name="crypto-browserify" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='crypto-browserify', version='3.12.0')
)
libraryDependencies += "org.webjars.npm" % "crypto-browserify" % "3.12.0"
[org.webjars.npm/crypto-browserify "3.12.0"]

Dependencies

compile (11)

Group / Artifact Type Version
org.webjars.npm : inherits jar [2.0.1,3)
org.webjars.npm : browserify-cipher jar [1.0.0,2)
org.webjars.npm : create-hash jar [1.1.0,2)
org.webjars.npm : randomfill jar [1.0.3,2)
org.webjars.npm : randombytes jar [2.0.0,3)
org.webjars.npm : create-ecdh jar [4.0.0,5)
org.webjars.npm : pbkdf2 jar [3.0.3,4)
org.webjars.npm : create-hmac jar [1.1.0,2)
org.webjars.npm : public-encrypt jar [4.0.0,5)
org.webjars.npm : diffie-hellman jar [5.0.0,6)
org.webjars.npm : browserify-sign jar [4.0.0,5)

Project Modules

There are no modules declared in this project.

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

org.webjars.npm

Versions

Version
3.12.0
3.11.0
3.2.8
3.2.6
1.0.9