Socket
Socket
Sign inDemoInstall

@ocap/mcrypto

Package Overview
Dependencies
Maintainers
3
Versions
439
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocap/mcrypto - npm Package Compare versions

Comparing version 1.6.5 to 1.7.0

1

lib/index.js

@@ -155,2 +155,3 @@ /* eslint-disable no-multi-assign */

ROLE_REGISTRY: 16, // blocklet registry
ROLE_TOKEN: 17,
ROLE_ANY: 63,

@@ -157,0 +158,0 @@ },

2

lib/signer/secp256k1.js
/* eslint-disable class-methods-use-this */
/* eslint-disable no-useless-constructor */
const EC = require('elliptic').ec;
const BN = require('bn.js');
const { BN } = require('@ocap/util');
const randomBytes = require('randombytes');

@@ -6,0 +6,0 @@ const { stripHexPrefix, toHex, toBuffer, toUint8Array } = require('@ocap/util');

{
"name": "@ocap/mcrypto",
"version": "1.6.5",
"version": "1.7.0",
"description": "Crypto lib that provides signer,crypter,hasher interface",

@@ -50,3 +50,3 @@ "keywords": [

"dependencies": {
"@ocap/util": "^1.6.5",
"@ocap/util": "^1.7.0",
"bn.js": "5.1.3",

@@ -65,3 +65,3 @@ "crypto-js": "^4.0.0",

},
"gitHead": "5779448f13824de38978df3c84c9da0c1e1ad989"
"gitHead": "71ea796283983ac5b5a799fe8c48e629e92c2511"
}
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