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

mcl-wasm

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcl-wasm - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

26

mcl.js

@@ -236,10 +236,10 @@ "use strict";

}
fromHexStr(s) {
deserializeHexStr(s) {
this.deserialize(exports.fromHexStr(s))
}
toHexStr() {
serializeToHexStr() {
return exports.toHexStr(this.serialize())
}
dump(msg = '') {
console.log(msg + this.toHexStr())
console.log(msg + this.serializeToHexStr())
}

@@ -304,2 +304,7 @@ clear() {

}
exports.deserializeHexStrToFr = function(s) {
r = new exports.Fr()
r.deserializeHexStr(s)
return r
}
exports.G1 = class extends Common {

@@ -331,2 +336,7 @@ constructor() {

}
exports.deserializeHexStrToG1 = function(s) {
r = new exports.G1()
r.deserializeHexStr(s)
return r
}
exports.G2 = class extends Common {

@@ -358,2 +368,7 @@ constructor() {

}
exports.deserializeHexStrToG2 = function(s) {
r = new exports.G2()
r.deserializeHexStr(s)
return r
}
exports.GT = class extends Common {

@@ -388,2 +403,7 @@ constructor() {

}
exports.deserializeHexStrToGT = function(s) {
r = new exports.GT()
r.deserializeHexStr(s)
return r
}
exports.neg = function(x) {

@@ -390,0 +410,0 @@ let f = null

2

package.json
{
"name": "mcl-wasm",
"version": "0.0.3",
"version": "0.0.4",
"description": "mcl ; A generic and fast pairing-based cryptography library for Node.js by WebAssembly",

@@ -5,0 +5,0 @@ "main": "mcl.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