Easier encryption using casting of char to int