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

elliptic

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elliptic - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/elliptic/curve/base.js

@@ -1,2 +0,1 @@

var assert = require('assert');
var bn = require('bn.js');

@@ -7,2 +6,3 @@ var elliptic = require('../../elliptic');

var getJSF = elliptic.utils.getJSF;
var assert = elliptic.utils.assert;

@@ -9,0 +9,0 @@ function BaseCurve(type, conf) {

@@ -1,2 +0,1 @@

var assert = require('assert');
var curve = require('../curve');

@@ -9,2 +8,3 @@ var elliptic = require('../../elliptic');

var getNAF = elliptic.utils.getNAF;
var assert = elliptic.utils.assert;

@@ -11,0 +11,0 @@ function EdwardsCurve(conf) {

@@ -1,2 +0,1 @@

var assert = require('assert');
var curve = require('../curve');

@@ -9,2 +8,3 @@ var elliptic = require('../../elliptic');

var getNAF = elliptic.utils.getNAF;
var assert = elliptic.utils.assert;

@@ -11,0 +11,0 @@ function MontCurve(conf) {

@@ -1,2 +0,1 @@

var assert = require('assert');
var curve = require('../curve');

@@ -9,2 +8,3 @@ var elliptic = require('../../elliptic');

var getNAF = elliptic.utils.getNAF;
var assert = elliptic.utils.assert;

@@ -11,0 +11,0 @@ function ShortCurve(conf) {

var curves = exports;
var assert = require('assert');
var hash = require('hash.js');

@@ -8,2 +7,4 @@ var bn = require('bn.js');

var assert = elliptic.utils.assert;
function PresetCurve(options) {

@@ -10,0 +11,0 @@ if (options.type === 'short')

@@ -1,5 +0,5 @@

var assert = require('assert');
var bn = require('bn.js');
var elliptic = require('../../elliptic');
var utils = elliptic.utils;
var assert = utils.assert;

@@ -6,0 +6,0 @@ var KeyPair = require('./key');

@@ -1,2 +0,1 @@

var assert = require('assert');
var bn = require('bn.js');

@@ -6,2 +5,3 @@

var utils = elliptic.utils;
var assert = utils.assert;

@@ -8,0 +8,0 @@ function KeyPair(ec, priv, pub) {

@@ -1,2 +0,1 @@

var assert = require('assert');
var bn = require('bn.js');

@@ -6,2 +5,3 @@

var utils = elliptic.utils;
var assert = utils.assert;

@@ -8,0 +8,0 @@ function Signature(r, s) {

@@ -1,6 +0,5 @@

var assert = require('assert');
var hash = require('hash.js');
var elliptic = require('../elliptic');
var utils = elliptic.utils;
var assert = utils.assert;

@@ -7,0 +6,0 @@ function HmacDRBG(options) {

@@ -1,2 +0,1 @@

var assert = require('assert');
var bn = require('bn.js');

@@ -6,2 +5,7 @@

utils.assert = function assert(val, msg) {
if (!val)
throw new Error(msg || 'Assertion failed');
};
function toArray(msg, enc) {

@@ -8,0 +12,0 @@ if (Array.isArray(msg))

{
"name": "elliptic",
"version": "1.0.0",
"version": "1.0.1",
"description": "EC cryptography",

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

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