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

keybase-ecurve

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keybase-ecurve - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

6

lib/point.js

@@ -197,3 +197,3 @@ var assert = require('assert')

if (compressed == undefined) compressed = this.compressed
if (this.curve.isInfinity(this)) return new Buffer('00', 'hex') // Infinity point encoded is simply '00'
if (this.curve.isInfinity(this)) return Buffer.from('00', 'hex') // Infinity point encoded is simply '00'

@@ -210,3 +210,3 @@ var x = this.affineX

if (compressed) {
buffer = new Buffer(1 + byteLength)
buffer = Buffer.alloc(1 + byteLength)
buffer.writeUInt8(y.isEven() ? 0x02 : 0x03, 0)

@@ -216,3 +216,3 @@

} else {
buffer = new Buffer(1 + byteLength + byteLength)
buffer = Buffer.alloc(1 + byteLength + byteLength)
buffer.writeUInt8(0x04, 0)

@@ -219,0 +219,0 @@

{
"name": "keybase-ecurve",
"version": "1.0.0",
"version": "1.0.1",
"description": "Elliptic curve cryptography, which uses keybase/bn for bignums",

@@ -14,11 +14,11 @@ "keywords": [

"devDependencies": {
"coveralls": "^2.10.0",
"istanbul": "^0.2.10",
"jshint": "2.5.1",
"mocha": "^1.20.0",
"mocha-lcov-reporter": "0.0.1",
"mochify": "^0.4.2"
"coveralls": "^3.0.6",
"jshint": "^2.10.2",
"mocha": "^6.2.0",
"mocha-lcov-reporter": "^1.3.0",
"mochify": "^6.4.1",
"nyc": "^14.1.1"
},
"repository": {
"url": "https://github.com/cryptocoinjs/ecurve",
"url": "https://github.com/keybase/ecurve",
"type": "git"

@@ -28,3 +28,3 @@ },

"scripts": {
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"coverage": "./node_modules/.bin/nyc cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info",

@@ -36,3 +36,3 @@ "jshint": "./node_modules/.bin/jshint --config jshint.json lib/*.js ; true",

"dependencies": {
"bn": "^1.0.0"
"bn": "^1.0.4"
},

@@ -51,2 +51,2 @@ "testling": {

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