Checksums

Take a look at the `To_string` module on how to write these things in a more uniform way.