ufsecp 3.13.1 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/libufsecp.dylib +0 -0
- package/prebuilds/linux-arm64/libufsecp.so +0 -0
- package/prebuilds/linux-arm64/libufsecp.so.3 +0 -0
- package/prebuilds/linux-arm64/{libufsecp.so.3.13.1 → libufsecp.so.3.14.0} +0 -0
- package/prebuilds/linux-x64/libufsecp.so +0 -0
- package/prebuilds/linux-x64/libufsecp.so.3 +0 -0
- package/prebuilds/linux-x64/libufsecp.so.3.14.0 +0 -0
- package/prebuilds/win32-x64/ufsecp.dll +0 -0
- package/prebuilds/linux-x64/libufsecp.so.3.13.1 +0 -0
package/README.md
CHANGED
|
@@ -12,7 +12,6 @@ High-performance Node.js native addon for secp256k1 elliptic curve cryptography,
|
|
|
12
12
|
- **Addresses** — P2PKH, P2WPKH, P2TR
|
|
13
13
|
- **WIF** — encode/decode
|
|
14
14
|
- **Hashing** — SHA-256 (hardware-accelerated), HASH160, tagged hash
|
|
15
|
-
- **Constant-time** — all secret-key operations use CT layer automatically
|
|
16
15
|
|
|
17
16
|
## Install
|
|
18
17
|
|
|
@@ -111,9 +110,9 @@ const { outputKeyX, parity } = secp.taprootOutputKey(xOnlyPub);
|
|
|
111
110
|
const tweakedPriv = secp.taprootTweakPrivkey(privkey);
|
|
112
111
|
```
|
|
113
112
|
|
|
114
|
-
##
|
|
113
|
+
## Architecture Note
|
|
115
114
|
|
|
116
|
-
Built on hand-optimized C/C++ with platform-specific acceleration (AVX2, SHA-NI, BMI2 on x86; NEON on ARM).
|
|
115
|
+
Built on hand-optimized C/C++ with platform-specific acceleration (AVX2, SHA-NI, BMI2 on x86; NEON on ARM). The C ABI layer uses the **fast** (variable-time) implementation for maximum throughput. A constant-time (CT) layer with identical mathematical operations is available via the C++ headers for applications requiring timing-attack resistance.
|
|
117
116
|
|
|
118
117
|
| Operation | x86-64 | ARM64 | RISC-V |
|
|
119
118
|
|-----------|--------|-------|--------|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
index e15ccdb..7b347f0 100755
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|