Added MD5, SHA1, SHA256 and SHA512 functionality to class.