Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tabcat/peer-account-crypto

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabcat/peer-account-crypto - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

7

package.json
{
"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',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc