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.0.0 to 2.0.1

5

lib/rand.browser.js
export function generateInt32() {
const array = new Uint8Array(4);
window.crypto.getRandomValues(array);
return (array[0] << 3) + (array[1] << 2) + (array[2] << 1) + array[3];
return ((array[0] << (3 * 8)) +
(array[1] << (2 * 8)) +
(array[2] << (1 * 8)) +
array[3]);
}

2

package.json
{
"name": "tiny-secp256k1",
"version": "2.0.0",
"version": "2.0.1",
"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

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