@stablelib/chacha20poly1305
Advanced tools
Comparing version 0.10.3 to 1.0.0
// 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"; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
103693
1633
1
+ Added@stablelib/aead@1.0.1(transitive)
+ Added@stablelib/binary@1.0.1(transitive)
+ Added@stablelib/chacha@1.0.1(transitive)
+ Added@stablelib/constant-time@1.0.1(transitive)
+ Added@stablelib/int@1.0.1(transitive)
+ Added@stablelib/poly1305@1.0.1(transitive)
+ Added@stablelib/wipe@1.0.1(transitive)
- Removed@stablelib/aead@0.5.0(transitive)
- Removed@stablelib/binary@0.7.2(transitive)
- Removed@stablelib/chacha@0.7.2(transitive)
- Removed@stablelib/constant-time@0.5.0(transitive)
- Removed@stablelib/int@0.5.0(transitive)
- Removed@stablelib/poly1305@0.10.2(transitive)
- Removed@stablelib/wipe@0.5.0(transitive)
Updated@stablelib/aead@^1.0.0
Updated@stablelib/binary@^1.0.0
Updated@stablelib/chacha@^1.0.0
Updated@stablelib/poly1305@^1.0.0
Updated@stablelib/wipe@^1.0.0