Encryption of the messages is handled by Bitcoin public and private keys.
Your Bitcoin address with the keys is generated on your device.
Only the public key and the address is sent to your chat partner.