@likloadm/bip32
Advanced tools
+6
-1
@@ -22,3 +22,8 @@ import { hmac } from '@noble/hashes/hmac'; | ||
| var privkey = new Uint8Array(dataHeap2.buffer, dataHeap2.byteOffset, 4000); | ||
| return [privkey, pubkey]; | ||
| var priv = new Uint8Array(privkey); | ||
| var pub = new Uint8Array(pubkey); | ||
| dilithium._free(dataHeap1.byteOffset); | ||
| dilithium._free(dataHeap2.byteOffset); | ||
| dilithium._free(dataHeap3.byteOffset); | ||
| return [priv, pub]; | ||
| } | ||
@@ -25,0 +30,0 @@ secp.utils.hmacSha256Sync = (key, ...msgs) => hmac(sha256, key, secp.utils.concatBytes(...msgs)); |
+6
-1
@@ -25,3 +25,8 @@ "use strict"; | ||
| var privkey = new Uint8Array(dataHeap2.buffer, dataHeap2.byteOffset, 4000); | ||
| return [privkey, pubkey]; | ||
| var priv = new Uint8Array(privkey); | ||
| var pub = new Uint8Array(pubkey); | ||
| dilithium._free(dataHeap1.byteOffset); | ||
| dilithium._free(dataHeap2.byteOffset); | ||
| dilithium._free(dataHeap3.byteOffset); | ||
| return [priv, pub]; | ||
| } | ||
@@ -28,0 +33,0 @@ secp.utils.hmacSha256Sync = (key, ...msgs) => (0, hmac_1.hmac)(sha256_1.sha256, key, secp.utils.concatBytes(...msgs)); |
+1
-1
| { | ||
| "name": "@likloadm/bip32", | ||
| "version": "2.1.3", | ||
| "version": "2.1.4", | ||
| "description": "Secure, audited & minimal implementation of BIP32 hierarchical deterministic (HD) wallets", | ||
@@ -5,0 +5,0 @@ "files": [ |
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.
239677
0.17%3158
0.32%3
-25%