SecureHash.SHA256
Keywords: net.corda.core.crypto.SecureHash.SHA256 class
Date: 2023-09-18

net.corda.core.crypto

## Class SecureHash.SHA256

- net.corda.core.utilities.ByteSequence
- - net.corda.core.utilities.OpaqueBytes
  - - net.corda.core.crypto.SecureHash
    - - net.corda.core.crypto.SecureHash.SHA256

- Enclosing class:
    SecureHash

      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).

- - ### Constructor Detail

    - #### SHA256

          public SHA256(@NotNull
                        kotlin.Array[] bytes)

      SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).

  - ### Method Detail

    - #### equals

          public boolean equals(@Nullable
                                java.lang.Object other)

    - #### hashCode

          public int hashCode()

    - #### toString

          @NotNull
          public java.lang.String toString()

      Convert the hash value to an uppercase hexadecimal String.

      See Also:
        String

    - #### generate

          @NotNull
          protected SecureHash generate(@NotNull
                                                 kotlin.Array[] data)