class SHA256 : SecureHash
SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).
SHA256(bytes: ByteArray)
SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes). |
fun equals(other: Any?): Boolean |
|
fun generate(data: ByteArray): SecureHash |
|
fun hashCode(): Int |
|
fun toString(): String
Convert the hash value to an uppercase hexadecimal String. |
fun concatenate(other: SecureHash): SecureHash
Append a second hash value to this hash value, and then compute the hash of the result. |
|
fun concatenateAs(concatAlgorithm: String, other: SecureHash): SecureHash
Append a second hash value to this hash value, and then compute the hash of the result using the specified algorithm. |
|
fun hashConcat(other: SecureHash): <ERROR CLASS>
Append a second hash value to this hash value, and then compute the SHA-256 hash of the result. |
|
fun prefixChars(prefixLen: Int = 6): <ERROR CLASS>
Returns the first prefixLen hexadecimal digits of the SecureHash value. |
|
fun reHash(): SecureHash |
|
fun toHexString(): String |