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

@digitalbazaar/x25519-key-agreement-key-2019

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalbazaar/x25519-key-agreement-key-2019 - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

5

CHANGELOG.md
# @digitalbazaar/x25519-key-agreement-key-2019 ChangeLog
## 5.1.1 - 2021-05-25
### Changed
- **BREAKING**: Point suite context to its own standalone url (not security/v2).
## 5.1.0 - 2021-04-02

@@ -4,0 +9,0 @@

3

lib/crypto.js

@@ -46,3 +46,4 @@ /*!

let deriveSecret, generateKeyPair;
let deriveSecret;
let generateKeyPair;
if(crypto.diffieHellman) {

@@ -49,0 +50,0 @@ deriveSecret = deriveSecretNative;

@@ -313,3 +313,3 @@ /*!

* @throws {TypeError} On invalid base58 encoding of public or private keys.
* @returns {string}
* @returns {Promise<Uint8Array>}
*/

@@ -382,4 +382,3 @@ async deriveSecret({publicKey}) {

X25519KeyAgreementKey2019.suite = SUITE_ID;
// Currently, X 2019 suite does not have its own standalone context, and
// uses security/v2
X25519KeyAgreementKey2019.SUITE_CONTEXT = 'https://w3id.org/security/v2';
X25519KeyAgreementKey2019.SUITE_CONTEXT =
'https://w3id.org/security/suites/x25519-2019/v1';
{
"name": "@digitalbazaar/x25519-key-agreement-key-2019",
"version": "5.1.0",
"version": "5.1.1",
"description": "An X25519 (Curve25519) DH key implementation to work with the crypto-ld LDKeyPair API",

@@ -5,0 +5,0 @@ "scripts": {

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