Socket
Socket
Sign inDemoInstall

@stablelib/chacha20poly1305

Package Overview
Dependencies
7
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.3 to 1.0.0

4

chacha20poly1305.ts
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
/**
* Package chacha20poly1305 implements ChaCha20-Poly1305 AEAD.
*/
import { AEAD } from "@stablelib/aead";

@@ -5,0 +9,0 @@ import { streamXOR, stream } from "@stablelib/chacha";

7

lib/chacha20poly1305.d.ts

@@ -0,1 +1,4 @@

/**
* Package chacha20poly1305 implements ChaCha20-Poly1305 AEAD.
*/
import { AEAD } from "@stablelib/aead";

@@ -11,4 +14,4 @@ export declare const KEY_LENGTH = 32;

export declare class ChaCha20Poly1305 implements AEAD {
readonly nonceLength: number;
readonly tagLength: number;
readonly nonceLength = 12;
readonly tagLength = 16;
private _key;

@@ -15,0 +18,0 @@ /**

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

@@ -18,14 +18,14 @@ "main": "./lib/chacha20poly1305.js",

"dependencies": {
"@stablelib/aead": "^0.5.0",
"@stablelib/binary": "^0.7.2",
"@stablelib/chacha": "^0.7.2",
"@stablelib/constant-time": "^0.5.0",
"@stablelib/poly1305": "^0.10.2",
"@stablelib/wipe": "^0.5.0"
"@stablelib/aead": "^1.0.0",
"@stablelib/binary": "^1.0.0",
"@stablelib/chacha": "^1.0.0",
"@stablelib/constant-time": "^1.0.0",
"@stablelib/poly1305": "^1.0.0",
"@stablelib/wipe": "^1.0.0"
},
"devDependencies": {
"@stablelib/benchmark": "^0.5.0",
"@stablelib/hex": "^0.5.0"
"@stablelib/benchmark": "^1.0.0",
"@stablelib/hex": "^1.0.0"
},
"gitHead": "dd08cfe89bc89b4106f0c9705db6281dd7357b26"
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc