New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stablelib/ed25519

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/ed25519 - npm Package Compare versions

Comparing version 0.7.2 to 0.10.7

11

ed25519.ts

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

function pack(r: GF, p: GF[]) {
function pack(r: Uint8Array, p: GF[]) {
const tx = gf(), ty = gf(), zi = gf();

@@ -622,3 +622,3 @@ inv25519(zi, p[2]);

function scalarmult(p: GF[], q: GF[], s: GF) {
function scalarmult(p: GF[], q: GF[], s: Uint8Array) {
set25519(p[0], gf0);

@@ -637,3 +637,3 @@ set25519(p[1], gf1);

function scalarbase(p: GF[], s: GF) {
function scalarbase(p: GF[], s: Uint8Array) {
const q = [gf(), gf(), gf(), gf()];

@@ -727,3 +727,3 @@ set25519(q[0], X);

function reduce(r: GF) {
function reduce(r: Uint8Array) {
const x = new Float64Array(64);

@@ -741,3 +741,2 @@ for (let i = 0; i < 64; i++) {

export function sign(secretKey: Uint8Array, message: Uint8Array): Uint8Array {
// const h = new Uint8Array(64);
const x = new Float64Array(64);

@@ -783,3 +782,3 @@ const p = [gf(), gf(), gf(), gf()];

function unpackneg(r: GF[], p: GF) {
function unpackneg(r: GF[], p: Uint8Array) {
const t = gf(), chk = gf(), num = gf(),

@@ -786,0 +785,0 @@ den = gf(), den2 = gf(), den4 = gf(),

@@ -714,3 +714,2 @@ "use strict";

function sign(secretKey, message) {
// const h = new Uint8Array(64);
var x = new Float64Array(64);

@@ -717,0 +716,0 @@ var p = [gf(), gf(), gf(), gf()];

{
"name": "@stablelib/ed25519",
"version": "0.7.2",
"version": "0.10.7",
"description": "Ed25519 public-key signature (EdDSA with Curve25519)",

@@ -5,0 +5,0 @@ "main": "./lib/ed25519.js",

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