http://git.chat98.i2p/chat98/chat98/src/commit/226b8ada293b78b9ac4aba723c9f099cafa80194
Layer 1 (IrcEncryptedMessage.java) This layer contains the IrcMessage, but the sender uses a shared secret generated with a one-time-use X25519 private key, and the recipient's public key, and it is encrypted with the ChaCha20-Poly1305 encryption algorithm. If the IrcMessage type is PING or AWAY, then this is where the encryption stops initially, and is sent to the server, as the PING/AWAY message is where quantum keys are exchanged, and going forward all...