public static class SecureHash.SHA256 extends SecureHash
SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).
SecureHash.Companion, SecureHash.HASH, SecureHash.SHA256
Constructor and Description |
---|
SHA256(byte[] bytes)
SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
SecureHash |
generate(byte[] data) |
int |
hashCode() |
java.lang.String |
toString()
Convert the hash value to an uppercase hexadecimal String.
|
concatenate, concatenateAs, generate, hashConcat, prefixChars, reHash, toHexString, toString
getBytes
public SHA256(byte[] bytes)
SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
Convert the hash value to an uppercase hexadecimal String.
public SecureHash generate(byte[] data)