SHA1/256

Added support for sha1 and sha256 hashes.