http://git.chat98.i2p/chat98/chat98/src/commit/226b8ada293b78b9ac4aba723c9f099cafa80194
Encryption Details There are, at most, three (3) layers of encryption for each message. Layer 0 (IrcMessage.java) This layer is the core encrypted message. It is the actual message, end-to-end encrypted using the recipient's public key (the key shared with others to add as buddies), and your secret key.