improved encryptanonymize