mol_crypto_lib 0.1.1420 → 0.1.1421
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/node.js +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.test.js +1 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.mjs +1 -1
package/node.js
CHANGED
@@ -2481,7 +2481,7 @@ var $;
|
|
2481
2481
|
}, ecdh, Boolean('extractable'), ['deriveKey', 'deriveBits']).catch($mol_crypto_restack);
|
2482
2482
|
}
|
2483
2483
|
public() {
|
2484
|
-
return new $mol_crypto_key_public(this.
|
2484
|
+
return new $mol_crypto_key_public(this.asArray().slice(0, 64).buffer);
|
2485
2485
|
}
|
2486
2486
|
async sign(data) {
|
2487
2487
|
return new Uint8Array(await $mol_crypto_native.subtle.sign(ecdsa, await this.native(), data).catch($mol_crypto_restack));
|