Securely send messages to your friends using SecureChat!
In order to provide a secure model in which our users can interact we needed to do a lot of research into specific protocols. These protocols included Diffie-Hellman Key Generation algorithm. Also we studied AES symmetric encryption algorithm. During our analysis we found out that in order to have the Server and the Android phone encrypt and decrypt correctly we needed to implement the correct padding on both the key and the messages. In order to do this we used PKCS5 padding and AES in CBC mode.