@JvmStatic fun create(str: String?): SecureHash
Converts a SecureHash hash value represented as a {algorithm:}hexadecimal String into a SecureHash.
str
- An optional algorithm id followed by a delimiter and the sequence of hexadecimal digits that represents a hash value.
IllegalArgumentException
- The input string does not contain the expected number of hexadecimal digits, or it contains incorrectly-encoded characters.