Calculates the SHA-1 hash of the given stream, closing it when finished.
Calculates the SHA-1 hash of the given resource.
Calculates the SHA-1 hash of the given file.
Calculates the SHA-1 hash of the given Array[Byte].
Calculates the SHA-1 hash of the given String.
If the URI represents a local file (the scheme is "file"), this method calculates the SHA-1 hash of the contents of that file.
If the URI represents a local file (the scheme is "file"), this method calculates the SHA-1 hash of the contents of that file. Otherwise, this methods calculates the SHA-1 hash of the normalized string representation of the URI.