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

snarkyjs-crypto

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snarkyjs-crypto - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

8

package.json
{
"name": "snarkyjs-crypto",
"version": "0.1.3",
"version": "0.1.4",
"scripts": {

@@ -17,3 +17,7 @@ "clean": "bsb -clean-world",

},
"main": "src/universe.bs.js"
"main": "src/universe.bs.js",
"files": [
"src/*.ml*",
"bsconfig.json"
]
}

@@ -0,3 +1,3 @@

See example.js for usage.
# Build

@@ -16,2 +16,2 @@ ```

# Editor
If you use `vscode`, Press `Windows + Shift + B` it will build automatically
If you use `vscode`, Press `Windows + Shift + B` it will build automatically

@@ -94,5 +94,5 @@ // Generated by BUCKLESCRIPT VERSION 5.0.6, PLEASE EDIT WITH CARE

/* Group */[
Group$1[17],
Group$1[19],
Group$1[7],
Group$1[16],
Group$1[18],
Group$1[15],

@@ -116,3 +116,3 @@ Group$1[12]

var ofPrivateKey = T[/* Public_key */2][/* of_private_key */0];
var toJSON$1 = Group$1[/* toJSON */18];
var toJSON$1 = Group$1[/* toJSON */20];
var PublicKey = /* module */[

@@ -151,3 +151,3 @@ /* ofPrivateKey */ofPrivateKey,

]);
var $$let$2 = MerkleTree[4];
var $$let$2 = MerkleTree[6];
return /* module */[

@@ -180,4 +180,10 @@ /* Field */[

],
MerkleTree[6]
MerkleTree[8],
MerkleTree[3],
MerkleTree[4]
],
/* Group */[
Group$1[17],
Group$1[16]
],
/* Schnorr */[

@@ -198,14 +204,14 @@ [

PrivateKey: {
create: M[/* Schnorr */3][/* PrivateKey */0][/* create */0],
toJSON: M[/* Schnorr */3][/* PrivateKey */0][/* toJSON */1]
create: M[/* Schnorr */4][/* PrivateKey */0][/* create */0],
toJSON: M[/* Schnorr */4][/* PrivateKey */0][/* toJSON */1]
},
PublicKey: {
ofPrivateKey: M[/* Schnorr */3][/* PublicKey */1][/* ofPrivateKey */0],
toJSON: M[/* Schnorr */3][/* PublicKey */1][/* toJSON */1]
ofPrivateKey: M[/* Schnorr */4][/* PublicKey */1][/* ofPrivateKey */0],
toJSON: M[/* Schnorr */4][/* PublicKey */1][/* toJSON */1]
},
Signature: {
check: M[/* Schnorr */3][/* Signature */2][/* check */0],
toJSON: M[/* Schnorr */3][/* Signature */2][/* toJSON */1]
check: M[/* Schnorr */4][/* Signature */2][/* check */0],
toJSON: M[/* Schnorr */4][/* Signature */2][/* toJSON */1]
},
sign: M[/* Schnorr */3][/* sign */3]
sign: M[/* Schnorr */4][/* sign */3]
};

@@ -250,2 +256,4 @@ var field = {

ofArray: M[/* MerkleTree */2][/* ofArray */1],
depth: M[/* MerkleTree */2][/* depth */3],
root: M[/* MerkleTree */2][/* root */2],
MembershipProof: membership_proof

@@ -257,3 +265,6 @@ };

MerkleTree: merkle_tree,
Schnorr: schnorr
Schnorr: schnorr,
Group: {
toAffine: M[/* Group */3][/* toAffine */0]
}
};

@@ -345,5 +356,5 @@ }

/* Group */[
Group$1[17],
Group$1[19],
Group$1[7],
Group$1[16],
Group$1[18],
Group$1[15],

@@ -373,3 +384,3 @@ Group$1[12]

var toJSON$1 = Group$1[/* toJSON */18];
var toJSON$1 = Group$1[/* toJSON */20];

@@ -417,3 +428,3 @@ var PublicKey = /* module */[

var $$let$2 = MerkleTree[4];
var $$let$2 = MerkleTree[6];

@@ -448,6 +459,13 @@ var Bn128_000 = /* Field */[

],
MerkleTree[6]
MerkleTree[8],
MerkleTree[3],
MerkleTree[4]
];
var Bn128_003 = /* Schnorr */[
var Bn128_003 = /* Group */[
Group$1[17],
Group$1[16]
];
var Bn128_004 = /* Schnorr */[
[

@@ -466,3 +484,4 @@ create,

Bn128_002,
Bn128_003
Bn128_003,
Bn128_004
];

@@ -469,0 +488,0 @@

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

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