tiny-secp256k1
Advanced tools
Comparing version 2.0.0 to 2.0.1
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]); | ||
} |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
201419
425
0