[Plugin] AdiIRC Encrypt

Added by Dave Akers about 2 years ago

This is a plugin that will encrypt private messages automatically.

How it works, after you install the plugin of course.
The first message you send to someone will include a "tag" at the start of the message. The tag should be invisible to most IRC clients.
If the person on the other end has the plugin it will see that tag and generate an ephemeral ECDH key pair and send you the public key.
When your side receives the public key it will create an ephemeral ECDH key pair and send the other person your public key.
Now both sides have each others public key and can generate a shared key.
From then on messages will be encrypted.

When you receive an encrypted message it will start with "{x}" to show that it was encrypted.