Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stablelib/ed25519

Package Overview
Dependencies
Maintainers
1
Versions
15
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.11.0 to 1.0.0

6

ed25519.ts
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
/**
* Package ed25519 implements Ed25519 public-key signature algorithm.
*/
import { randomBytes, RandomSource } from "@stablelib/random";

@@ -13,3 +17,3 @@ import { hash, SHA512 } from "@stablelib/sha512";

// TODO(dchest): some functions ara copies of ../kex/x25519.
// TODO(dchest): some functions are copies of ../kex/x25519.
// Find a way to combine them without opening up to public.

@@ -16,0 +20,0 @@

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

/**
* Package ed25519 implements Ed25519 public-key signature algorithm.
*/
import { RandomSource } from "@stablelib/random";

@@ -2,0 +5,0 @@ export declare const SIGNATURE_LENGTH = 64;

@@ -5,2 +5,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/**
* Package ed25519 implements Ed25519 public-key signature algorithm.
*/
var random_1 = require("@stablelib/random");

@@ -7,0 +10,0 @@ var sha512_1 = require("@stablelib/sha512");

14

package.json
{
"name": "@stablelib/ed25519",
"version": "0.11.0",
"version": "1.0.0",
"description": "Ed25519 public-key signature (EdDSA with Curve25519)",

@@ -18,11 +18,11 @@ "main": "./lib/ed25519.js",

"dependencies": {
"@stablelib/random": "^0.7.4",
"@stablelib/sha512": "^0.7.2",
"@stablelib/wipe": "^0.5.0"
"@stablelib/random": "^1.0.0",
"@stablelib/sha512": "^1.0.0",
"@stablelib/wipe": "^1.0.0"
},
"devDependencies": {
"@stablelib/base64": "^0.7.2",
"@stablelib/benchmark": "^0.5.0"
"@stablelib/base64": "^1.0.0",
"@stablelib/benchmark": "^1.0.0"
},
"gitHead": "bfc2e6b7c9c3f31c7bb3610b8a0c09d3ef3613ca"
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6"
}

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