changed encryption algorithm