More hashing stuff.

* hash strings and files
* tests