Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
elliptic.js
index.js
index.test.js
package-lock.json
package.json
private-box.js
private-box.test.js
secp-node.test.js
ssb-db.js
ssb-server.js

README.md

Here are some experiments with different secp256k1 node libraries.

  • ssb-server.js demonstrates signing on secp256k1 and ed25519 on the same instance of sbot
  • index.test.js demonstrates using node-secp256k1 to generate keys and create Diffie-Hellman shared secrets, and ethereumjs/keythereum to show the corresponding Ethereum addresses.
  • elliptic.js demonstrates using elliptic to generate keys and do Diffie-Hellman.
  • private-box.js is an implementation of scuttlebutt's private-box which works with secp256k1 keys and almost with a mixture of recipients having both curve25519 and secp256k1 keypairs. Highly experimental and not recommended for use in the wild.
You can’t perform that action at this time.