Socket
Socket
Sign inDemoInstall

tiny-secp256k1

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-secp256k1 - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

5

lib/rand.browser.js
function get4RandomBytes() {
const bytes = new Uint8Array(4);
window.crypto.getRandomValues(bytes);
if (typeof crypto === "undefined") {
throw new Error("The crypto object is unavailable. This may occur if your environment does not support the Web Cryptography API.");
}
crypto.getRandomValues(bytes);
return bytes;

@@ -5,0 +8,0 @@ }

2

package.json
{
"name": "tiny-secp256k1",
"version": "2.2.1",
"version": "2.2.2",
"description": "A tiny secp256k1 JS",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bitcoinjs/tiny-secp256k1#readme",

Sorry, the diff of this file is not supported yet

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