Package com.exonum.binding.common.proofs
Class ProofHashes
java.lang.Object
com.exonum.binding.common.proofs.ProofHashes
public final class ProofHashes
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static void
checkSha256Hash(HashCode hash)
Checks that the given hash is a SHA-256 hash.
-
Method Details
-
checkSha256Hash
Checks that the given hash is a SHA-256 hash.- Throws:
java.lang.IllegalArgumentException
- if the hash size is not equal to 256 bits
-