Made a bunch of improvements to the cryptographic library.

Now it includes a nifty hash class that does all kinds of hashes (with progress monitoring)