How to checksum a message?

Hello! Can you please tell me how can I convert characters to ASCII numeric values? This is required to generate the checksum of the transmitted message on the arduino.
Or maybe there is another way to get the checksum?