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

isomorphic-secp256k1-js

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

isomorphic-secp256k1-js - npm Package Compare versions

Comparing version 2.0.5 to 3.0.0-rc.1

4

package.json
{
"name": "isomorphic-secp256k1-js",
"version": "2.0.5",
"version": "3.0.0-rc.1",
"description": "An ultra lightweight (2 kbyte) pure JavaScript implimentation for the secp256k1 curve for node and browsers.",

@@ -35,3 +35,3 @@ "repository": {

"types": "tsc -p jsconfig.json",
"tests": "coverage-node test/index.test.mjs",
"tests": "ALLOW_MISSING_COVERAGE=1 coverage-node test/index.test.mjs",
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",

@@ -38,0 +38,0 @@ "prepublishOnly": "npm test"

@@ -97,3 +97,6 @@ ![secp256k1 logo](https://raw.githubusercontent.com/pur3miish/universal-ecdsa/master/static/secp256k1.svg)

const data = Uint8Array.from([104, 101, 108, 108, 111]);
const data = Uint8Array.from([
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
]);
sign({ data, private_key }).then(console.log);

@@ -116,3 +119,3 @@ ```

const key_pair = await recover_public_key({
data: Uint8Array.from([2, 33, 65, 233, 23, 23, 123, 244, 23, 23, 123, 244]),
data,
signature: {

@@ -119,0 +122,0 @@ r: number_to_array(

Sorry, the diff of this file is not supported yet

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