Made SHA2 more usable as package.

More usable function inputs for base sha2hash()