Improved encryption/decryption

Includes local encryption and decryption for sending and receiving data. This eliminated the usage of a remote server processing data as well as improving the image load time.