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

as-chain

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-chain - npm Package Compare versions

Comparing version 0.0.82 to 0.0.83

6

assembly/crypto.ts

@@ -673,5 +673,5 @@ import { check } from "./system";

export function modExp(base: U256, exp: U256, mod: U256): U256 {
const rawBase = Utils.hexToBytes(base.toString(16));
const rawExp = Utils.hexToBytes(exp.toString(16));
const rawMod = Utils.hexToBytes(mod.toString(16));
const rawBase = Utils.hexToBytes(base.toString(16).padStart(32, '0'));
const rawExp = Utils.hexToBytes(exp.toString(16).padStart(32, '0'));
const rawMod = Utils.hexToBytes(mod.toString(16).padStart(32, '0'));
const rawResult = new Array<u8>(32);

@@ -678,0 +678,0 @@ const ret = env.mod_exp(rawBase.dataStart, rawBase.length, rawExp.dataStart, rawExp.length, rawMod.dataStart, rawMod.length, rawResult.dataStart, rawResult.length)

{
"name": "as-chain",
"version": "0.0.82",
"version": "0.0.83",
"description": "chain module for assemblyscript",

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