js-ethereum-cryptography

Every cryptographic primitive needed to work on Ethereum, for the browser and Node.js

MIT License

Downloads
8M
Stars
653
Committers
10

Bot releases are hidden (Show)

js-ethereum-cryptography - 2.1.2

Published by paulmillr over 1 year ago

js-ethereum-cryptography - 2.1.1

Published by paulmillr over 1 year ago

js-ethereum-cryptography - 2.1.0

Published by paulmillr over 1 year ago

What's Changed

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/2.0.0...2.1.0

js-ethereum-cryptography - 2.0.0

Published by paulmillr over 1 year ago

Switched noble-secp256k1 to more secure noble-curves, which changes re-exported api of secp256k1 submodule.
Please refer to upgrading section from curves README.

This release bumps minimum node.js requirement to v16.

https://github.com/ethereum/js-ethereum-cryptography/pull/74

New Contributors

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/1.2.0...2.0.0

js-ethereum-cryptography - 1.2.0

Published by paulmillr over 1 year ago

  • AES bugfixes
  • Expose scrypt onProgress callback
  • Bump dependencies

New Contributors

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/1.1.2...1.2.0

js-ethereum-cryptography - 1.1.2

Published by paulmillr over 2 years ago

What's Changed

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/1.1.1...1.1.2

js-ethereum-cryptography - 1.1.1

Published by paulmillr over 2 years ago

js-ethereum-cryptography - 1.1.0

Published by paulmillr over 2 years ago

js-ethereum-cryptography - v1.0.3 released

Published by alcuadrado over 2 years ago

js-ethereum-cryptography - v1.0.2 released

Published by alcuadrado over 2 years ago

What's Changed

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/v1.0.1...v1.0.2

js-ethereum-cryptography - v1.0.1 released

Published by alcuadrado over 2 years ago

What's Changed

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/v1.0.0...v1.0.1

js-ethereum-cryptography - Version 1.0.0 released

Published by alcuadrado over 2 years ago

This is the final release of the new version of this library, written by @paulmillr.

It's a complete rewrite that leads to a 15x smaller, more secure, and portable version of the library.

For more info, take a look at this article.

js-ethereum-cryptography - v1.0.0-rc1

Published by alcuadrado almost 3 years ago

js-ethereum-cryptography - v0.2.5 released

Published by alcuadrado almost 3 years ago

This release contains the final changes that were motivated by the soon-to-be-published security audit.

What's Changed

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/v0.2.4...v0.2.5

js-ethereum-cryptography - v0.2.4 released

Published by alcuadrado almost 3 years ago

This release addresses some minor issues found during the audit. For more details go to #19.

js-ethereum-cryptography - v0.2.3 released

Published by alcuadrado almost 3 years ago

This is a small release that improves the hdkey module. It makes its API more robust and ensures that the private key is properly dropped.

It also reuses the assertBytes utility from @noble/hashes to avoid duplication.

js-ethereum-cryptography - v0.2.2 released

Published by alcuadrado almost 3 years ago

A small release in preparation for a security audit.

The only significant change it includes is an upgrade to @noble/hashes.

js-ethereum-cryptography - v0.2.1 released

Published by alcuadrado almost 3 years ago

This is a small update that just replaces noble-* dependencies with their new @noble/* versions.

js-ethereum-cryptography - v0.2.0: fewer dependencies, smaller bundle, easier to use, and more secure

Published by alcuadrado about 3 years ago

We just released a new version of the package, which has been rewritten using newer dependencies for all the cryptographic primitives.

The main difference is that the new dependencies are written in TypeScript, targeting more modern systems (i.e. using native bigint), and portable (i.e. not using Node.js APIs). This changes lead to a much smaller library, with less dependencies (which means more secure), and easier to use in the web.

Please, take a look at the README to learn how to upgrade, wand what you should do if you need to target older systems.

Huge thanks to @paulmillr who not only made this rewrite, but also implemented all the cryptographic primitives, and is coordinating the audit.

Security considerations

This version hasn't been audited yet. An audit will be conducted before the end of the year, but consider this experimental for now.

Once the project has been audited, we'll release v1.0.0.

What's Changed

New Contributors

Full Changelog: https://github.com/ethereum/js-ethereum-cryptography/compare/v0.1.3...v0.2.0

Package Rankings
Top 1.14% on Npmjs.org
Top 23.56% on Repo1.maven.org
Related Projects