@JvmStatic fun sha256(bytes: ByteArray): SHA256
Computes the SHA-256 hash value of the ByteArray.
bytes
- The ByteArray to hash.
@JvmStatic fun sha256(str: String): SHA256
Computes the SHA-256 hash of the String's UTF-8 byte contents.
str
- String whose UTF-8 contents will be hashed.