Copy the code! You can make your own letters list, or you can copy this one. The contents of the "hash" variable is what you use as the hash.
https://scratch.mit.edu/projects/25004724/ For the sums.