Hash
Value members
Concrete methods
Calculates the SHA-1 hash of the given Array[Byte].
Calculates the SHA-1 hash of the given Array[Byte].
Calculates the SHA-1 hash of the given stream, closing it when finished.
Calculates the SHA-1 hash of the given stream, closing it when finished.
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.
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.
Converts the provided hexadecimal representation hex
to an array of bytes.
The hexadecimal representation must have an even number of characters in the range 0-9, a-f, or A-F.
Converts the provided hexadecimal representation hex
to an array of bytes.
The hexadecimal representation must have an even number of characters in the range 0-9, a-f, or A-F.
Truncates the last half of s
if the string has at least four characters. Otherwise, the original string is returned.
Truncates the last half of s
if the string has at least four characters. Otherwise, the original string is returned.
Converts an array of bytes
to a hexadecimal representation String.
Converts an array of bytes
to a hexadecimal representation String.