ChainSafe / discv5

A Typescript implementation of the Discv5 protocol
Apache License 2.0
28 stars 15 forks source link

Find an appropriate Diffie-Hellman library #2

Closed Mikerah closed 5 years ago

Mikerah commented 5 years ago

During the key agreement phase of Discv5, we need to generate Diffie-Hellman ephemeral public keys.

We need to either determine if the current libraries are sufficient for our purposes or whether we should roll our own (potentially in AssemblyScript).

Mikerah commented 5 years ago

As noted in #5, the milagro-crypto-js library contains an ECDH implementation.

Mikerah commented 5 years ago

Closing since we have a milagro-crypto fork with typescript types.