Change of encryption method

Easier way to encrypt the data