Package com.microej.crypto.test
Class MessageDigestTest
- java.lang.Object
-
- com.microej.crypto.test.MessageDigestTest
-
public class MessageDigestTest extends java.lang.ObjectTests theMessageDigestsupported algorithms.
-
-
Constructor Summary
Constructors Constructor Description MessageDigestTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestMD5()Tests MD5 algorithm with different data sizes.voidtestSHA1()Tests SHA-1 algorithm with different data sizes.voidtestSHA256()Tests SHA-256 algorithm with different data sizes.voidtestSHA512()Tests SHA-512 algorithm with different data sizes.
-
-
-
Method Detail
-
testMD5
public void testMD5() throws java.lang.ExceptionTests MD5 algorithm with different data sizes.- Throws:
java.lang.Exception- If a test has gone wrong.
-
testSHA1
public void testSHA1() throws java.lang.ExceptionTests SHA-1 algorithm with different data sizes.- Throws:
java.lang.Exception- If a test has gone wrong.
-
testSHA256
public void testSHA256() throws java.lang.ExceptionTests SHA-256 algorithm with different data sizes.- Throws:
java.lang.Exception- If a test has gone wrong.
-
testSHA512
public void testSHA512() throws java.lang.ExceptionTests SHA-512 algorithm with different data sizes.- Throws:
java.lang.Exception- If a test has gone wrong.
-
-