Package org.bouncycastle.crypto.test

## Class SHA256DigestTest

- java.lang.Object
- - org.bouncycastle.util.test.SimpleTest
  - - org.bouncycastle.crypto.test.DigestTest
    - - org.bouncycastle.crypto.test.SHA256DigestTest

- All Implemented Interfaces:
    `Test`

      public class SHA256DigestTest
      extends DigestTest

  standard vector test for SHA-256 from FIPS Draft 180-2. Note, the first two vectors are _not_ from the draft, the last three are.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Digest` | `cloneDigest​(byte[] encodedState)` |
    `protected Digest` | `cloneDigest​(Digest digest)` |
    `static void` | `main​(java.lang.String[] args)` |
    `void` | `performTest()` |

    - ### Methods inherited from class org.bouncycastle.crypto.test.DigestTest

      `getName, millionATest, sixtyFourKTest, toByteArray`

    - ### Methods inherited from class org.bouncycastle.util.test.SimpleTest

      `areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### performTest

          public void performTest()

      Overrides:
        `performTest` in class `DigestTest`

    - #### cloneDigest

          protected Digest cloneDigest​(Digest digest)

      Specified by:
        `cloneDigest` in class `DigestTest`

    - #### cloneDigest

          protected Digest cloneDigest​(byte[] encodedState)

      Overrides:
        `cloneDigest` in class `DigestTest`

    - #### main

          public static void main​(java.lang.String[] args)