@stablelib/poly1305
Advanced tools
Comparing version 0.10.2 to 1.0.0
@@ -10,3 +10,3 @@ export declare const DIGEST_LENGTH = 16; | ||
export declare class Poly1305 { | ||
readonly digestLength: number; | ||
readonly digestLength = 16; | ||
private _buffer; | ||
@@ -20,3 +20,3 @@ private _r; | ||
constructor(key: Uint8Array); | ||
private _blocks(m, mpos, bytes); | ||
private _blocks; | ||
finish(mac: Uint8Array, macpos?: number): this; | ||
@@ -23,0 +23,0 @@ update(m: Uint8Array): this; |
@@ -5,2 +5,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Package poly1305 implements Poly1305 one-time message authentication algorithm. | ||
*/ | ||
var constant_time_1 = require("@stablelib/constant-time"); | ||
@@ -7,0 +10,0 @@ var wipe_1 = require("@stablelib/wipe"); |
{ | ||
"name": "@stablelib/poly1305", | ||
"version": "0.10.2", | ||
"version": "1.0.0", | ||
"description": "Poly1305 one-time message authentication code", | ||
@@ -18,10 +18,11 @@ "main": "./lib/poly1305.js", | ||
"dependencies": { | ||
"@stablelib/constant-time": "^0.5.0", | ||
"@stablelib/wipe": "^0.5.0" | ||
"@stablelib/constant-time": "^1.0.0", | ||
"@stablelib/wipe": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@stablelib/benchmark": "^0.5.0", | ||
"@stablelib/bytes": "^0.5.0", | ||
"@stablelib/hex": "^0.5.0" | ||
} | ||
"@stablelib/benchmark": "^1.0.0", | ||
"@stablelib/bytes": "^1.0.0", | ||
"@stablelib/hex": "^1.0.0" | ||
}, | ||
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6" | ||
} |
// Copyright (C) 2016 Dmitry Chestnykh | ||
// MIT License. See LICENSE file for details. | ||
/** | ||
* Package poly1305 implements Poly1305 one-time message authentication algorithm. | ||
*/ | ||
import { equal as constantTimeEqual } from "@stablelib/constant-time"; | ||
@@ -5,0 +9,0 @@ import { wipe } from "@stablelib/wipe"; |
Sorry, the diff of this file is not supported yet
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
1465
1
88070
+ Added@stablelib/constant-time@1.0.1(transitive)
+ Added@stablelib/wipe@1.0.1(transitive)
- Removed@stablelib/constant-time@0.5.0(transitive)
- Removed@stablelib/wipe@0.5.0(transitive)
Updated@stablelib/wipe@^1.0.0