First real version of encryption. The user cannot chose encryption or decryption yet