Hedwig

Hedwig

We implemented quantum resistant on chain key exchange algorithm. For showing use cases of it we also developed an onchain p2p private messaging app with lens profiles.

The problem Hedwig solves

We want to implement SSL technology to blockchain so decided to build onchain private messaging app. Diffie Hellman protocol was invented at 1978 we find a better one invited by Eric Järpe at 2020. This new key exchange algorithm uses elliptic curves for generating random g values. So it has advantages against quantum computer attacks.We get this new protocol implemented with solidity. So it can usable onchain.To show proof of concept of our work we also implement peer to peer on-chain private messaging app. So you can basically log in with your lens profile and send conversation requests to anyone. After handshake all sides has unique communication private key and easily chat.

Our contracts polygon Mumbai:
0x69be0EF1F785237e920A2A762c5CCcda169DcE63
0x1C7C346e8467Aeac9b99AB2D9076A009776370a1

Challenges we ran into

Firstly we need to implement a new key exchange protocol first time with solidity. After that we engage with lens protocol graphql queries. Then we connect our contracts to web3 with react. The main difficulty here we are only 2 developer :)

Discussion