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

@stablelib/chacha20poly1305

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/chacha20poly1305 - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

2

chacha20poly1305.ts

@@ -150,3 +150,3 @@ // Copyright (C) 2016 Dmitry Chestnykh

if (dst.length !== resultLength) {
throw new Error("GCM: incorrect destination length");
throw new Error("ChaCha20Poly1305: incorrect destination length");
}

@@ -153,0 +153,0 @@ result = dst;

@@ -46,3 +46,3 @@ import { AEAD } from "@stablelib/aead";

clean(): this;
private _authenticate(tagOut, authKey, ciphertext, associatedData?);
private _authenticate;
}

@@ -19,3 +19,3 @@ "use strict";

*/
var ChaCha20Poly1305 = (function () {
var ChaCha20Poly1305 = /** @class */ (function () {
/**

@@ -126,3 +126,3 @@ * Creates a new instance with the given 32-byte key.

if (dst.length !== resultLength) {
throw new Error("GCM: incorrect destination length");
throw new Error("ChaCha20Poly1305: incorrect destination length");
}

@@ -129,0 +129,0 @@ result = dst;

{
"name": "@stablelib/chacha20poly1305",
"version": "0.10.2",
"version": "0.10.3",
"description": "ChaCha20-Poly1305 AEAD (RFC 7539)",

@@ -28,3 +28,4 @@ "main": "./lib/chacha20poly1305.js",

"@stablelib/hex": "^0.5.0"
}
},
"gitHead": "dd08cfe89bc89b4106f0c9705db6281dd7357b26"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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