@tabcat/peer-account-crypto
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@tabcat/peer-account-crypto", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "crypto library for node and browser. uses webcrypto or node-webcrypto-ossl for primatives", | ||
@@ -17,6 +17,3 @@ "repository": { | ||
"standard": { | ||
"env": "mocha", | ||
"ignore": [ | ||
"test/**" | ||
] | ||
"env": "mocha" | ||
}, | ||
@@ -23,0 +20,0 @@ "keywords": [ |
# peer-account-crypto | ||
crypto library for node and browser. uses webcrypto or node-webcrypto-ossl for primatives | ||
**DISCLAIMER: cryptography in this repo has been implemented by an amateur and has not been auditted. <br/>Please :fire:roast:fire: me in Issues if u find a vulnerability.** |
@@ -39,3 +39,3 @@ | ||
'jwk', | ||
unmarshalPrivateKey(curve, forcePrivate), | ||
unmarshalPrivateKey(curve, Buffer.from(forcePrivate)), | ||
{ | ||
@@ -53,3 +53,3 @@ name: 'ECDH', | ||
'jwk', | ||
unmarshalPublicKey(curve, theirPub), | ||
unmarshalPublicKey(curve, Buffer.from(theirPub)), | ||
{ | ||
@@ -65,3 +65,3 @@ name: 'ECDH', | ||
return Buffer.from(await webcrypto.get().subtle.deriveBits( | ||
return new Uint8Array(await webcrypto.get().subtle.deriveBits( | ||
{ | ||
@@ -68,0 +68,0 @@ name: 'ECDH', |
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
17549
5