Allowing users to register and sign-in is also a breeze. We don’t have to worry about our database getting hacked. We probably wouldn’t worry about that anyway, but now we can let Google do the worrying for us.
I hope to make our chat ultra secure! It’ll use a hybrid encryption system that employs AES (symmetric) and RSA (asymmetric). The user’s private RSA key will be encrypted using AES 256. When a user sends a message, they’ll generate a unique encryption passphrase and use it to encrypt the message with AES. The passphrase will then be encrypted using each user’s public RSA key. The recipients can then decrypt the passphrase and then decrypt the message.