Package org.bouncycastle.crypto.test
Class SHA512DigestTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.crypto.test.DigestTest
-
- org.bouncycastle.crypto.test.SHA512DigestTest
-
- All Implemented Interfaces:
Test
public class SHA512DigestTest extends DigestTest
standard vector test for SHA-512 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
-
-
-
-
Method Detail
-
performTest
public void performTest()
- Overrides:
performTest
in classDigestTest
-
cloneDigest
protected Digest cloneDigest(Digest digest)
- Specified by:
cloneDigest
in classDigestTest
-
cloneDigest
protected Digest cloneDigest(byte[] encodedState)
- Overrides:
cloneDigest
in classDigestTest
-
main
public static void main(java.lang.String[] args)
-
-