-- hashes a string and returns a hex digest
sha256 :: String -> Maybe (Digest SHA256)
sha256 = digestFromByteString . hash . pack
sha256 :: String -> Maybe (Digest SHA256)
sha256 = digestFromByteString . hash . pack
sha256 = digestFromByteString . hash . pack