public class SecureHashKt
public static boolean isZero(@NotNull OpaqueBytes $this$isZero)
@NotNull public static net.corda.core.crypto.SecureHash.SHA256 sha256(@NotNull kotlin.Array[] $this$sha256)
Compute the SHA-256 hash for the contents of the ByteArray.
@NotNull public static net.corda.core.crypto.SecureHash.SHA256 sha256(@NotNull OpaqueBytes $this$sha256)
Compute the SHA-256 hash for the contents of the class OpaqueBytes
.
class OpaqueBytes
@NotNull public static SecureHash hashAs(@NotNull kotlin.Array[] $this$hashAs, @NotNull java.lang.String algorithm)
@NotNull public static SecureHash hashAs(@NotNull OpaqueBytes $this$hashAs, @NotNull java.lang.String algorithm)
Compute the algorithm
hash for the contents of the class OpaqueBytes
.
algorithm
,
class OpaqueBytes
@NotNull public static java.lang.String getAlgorithm(@NotNull SecureHash $this$algorithm)
Hash algorithm.