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

cardano-crypto.js

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardano-crypto.js - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

12

index.js

@@ -281,5 +281,9 @@ var Module = require('./lib.js')

var initKeyLen = initKey.length
var initKeyArrPtr = Module._malloc(ctxLen)
var initKeyArrPtr = Module._malloc(initKeyLen)
var initKeyArr = new Uint8Array(Module.HEAPU8.buffer, initKeyArrPtr, initKeyLen)
var outputLen = 64
var outputArrPtr = Module._malloc(outputLen)
var outputArr = new Uint8Array(Module.HEAPU8.buffer, outputArrPtr, outputLen)
initKeyArr.set(initKey)

@@ -291,3 +295,3 @@

var inputLen = inputs[i].length
var inputArrPtr = Module._malloc(inputLen)
inputArrPtr = Module._malloc(inputLen)
var inputArr = new Uint8Array(Module.HEAPU8.buffer, inputArrPtr, inputLen)

@@ -302,6 +306,2 @@

var outputLen = 64
var outputArrPtr = Module._malloc(outputLen)
var outputArr = new Uint8Array(Module.HEAPU8.buffer, outputArrPtr, outputLen)
Module._emscripten_hmac_sha512_final(ctxArrPtr, outputArrPtr)

@@ -308,0 +308,0 @@

{
"name": "cardano-crypto.js",
"version": "3.1.3",
"version": "3.1.4",
"description": "input-output-hk/cardano-crypto compiled to pure javascript using Emscripten",

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