Socket
Socket
Sign inDemoInstall

@stablelib/poly1305

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/poly1305 - npm Package Compare versions

Comparing version 0.10.2 to 1.0.0

4

lib/poly1305.d.ts

@@ -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

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