Python : Weak encryption algorithm