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

ffjavascript

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffjavascript - npm Package Compare versions

Comparing version 0.2.48 to 0.2.50

2

package.json
{
"name": "ffjavascript",
"type": "module",
"version": "0.2.48",
"version": "0.2.50",
"description": "Finite Field Library in Javascript",

@@ -6,0 +6,0 @@ "main": "./build/main.cjs",

import bigInt from "big-integer";
import buildSqrt from "./fsqrt.js";
import {getRandomBytes} from "./random.js";
import * as FFFT from "./fft.js";

@@ -43,2 +44,4 @@ export default class ZqField {

buildSqrt(this);
this.FFT = new FFFT(this, this, this.mul.bind(this));
}

@@ -286,4 +289,11 @@

fft(a) {
return this.FFT.fft(a);
}
ifft(a) {
return this.FFT.ifft(a);
}
}

@@ -6,2 +6,3 @@ /* global BigInt */

import {getRandomBytes} from "./random.js";
import FFFT from "./fft.js";

@@ -47,2 +48,4 @@ export default class ZqField {

buildSqrt(this);
this.FFT = new FFFT(this, this, this.mul.bind(this));
}

@@ -307,3 +310,11 @@

fft(a) {
return this.FFT.fft(a);
}
ifft(a) {
return this.FFT.ifft(a);
}
}

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