Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crypto-ld

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-ld - npm Package Versions

12

3.2.0

Diff

Changelog

Source

3.2.0 - 2019-02-19

Changed

  • Remove sodium-universal dependency to reduce the size of the browser bundle.
  • Ed25519 operations in Node.js use sodium-native APIs.
  • Ed25519 operations in the browser use forge APIs.
  • Use base64url-universal which eliminates the need for a Buffer polyfill when this module is used in the browser.
mattcollier
published 3.1.0 •

Changelog

Source

3.1.0 - 2019-02-18

Changed

  • Use forge@0.8.0. The new rsa.generateKeyPair API automatically uses native implementation when available in nodejs >= 10.12.0.
mattcollier
published 3.0.0 •

Changelog

Source

3.0.0 - 2019-01-30

Changed

  • BREAKING: Make key fingerprints conform to the latest multibase/multicodec specification. The fingerprints generated by 2.x and 3.x are different due to encoding changes.
  • BREAKING: The only exports for this module are the three key classes: LDKeyPair, Ed25519KeyPair, and RSAKeyPair.
davidlehn
published 2.0.1 •

Changelog

Source

2.0.1 - 2019-01-24

Fixed

  • No need to bring in util in browser environment.
codenamedmitri
published 2.0.0 •

Changelog

Source

2.0.0 - 2019-01-16

Fixed

  • Specify published files.

Changed

  • BREAKING: Ed25519KeyPair now uses publicKeyBase58 and privateKeyBase58 attributes, instead of publicKeyBase and privateKeyBase
  • BREAKING: Changed signature of LDKeyPair.from() (one options param instead of a separate data and options)
  • Removed ursa support.
    • Node.js >= 10.12.0: use generateKeyPair().
    • Earlier Node.js and browsers: use forge.
    • NOTE: Newer Node.js versions are much faster at RSA key generation vs the forge fallback. It is highly recommended to use a newer Node.js.
  • Switch from chloride to sodium-universal.

Added

  • Added controller attribute (to use instead of the deprecated owner)
  • Added sign() and verify() factory functions for use with jsonld-signatures
  • Add Karma browser testing support.
codenamedmitri
published 1.0.0 •

Changelog

Source

1.0.0 - 2018-11-08

  • Change keyType to type (do match DID Doc usage), add key owner
  • Initial NPM release
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc