Change location of encryption and use md5