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

sm-crypto

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sm-crypto - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

4

package.json
{
"name": "sm-crypto",
"version": "0.0.9",
"version": "0.1.0",
"description": "sm-crypto",
"main": "index.js",
"scripts": {
"test": "jest test/*.test.js",
"test": "jest ./test/*",
"build": "webpack"

@@ -9,0 +9,0 @@ },

@@ -183,6 +183,6 @@ const { BigInteger } = require('jsbn');

intToBigEndian(n, bs, off) {
bs[off] = Int32.parseByte(this.urShift(n, 24));
bs[++off] = Int32.parseByte(this.urShift(n, 16));
bs[++off] = Int32.parseByte(this.urShift(n, 8));
bs[++off] = Int32.parseByte(n);
bs[off] = Int32.parseByte(this.urShift(n, 24)) & 0xff;
bs[++off] = Int32.parseByte(this.urShift(n, 16)) & 0xff;
bs[++off] = Int32.parseByte(this.urShift(n, 8)) & 0xff;
bs[++off] = Int32.parseByte(n) & 0xff;
}

@@ -189,0 +189,0 @@

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