Tweaked the build system.
Improved tests for cryptographic hash algorithms.