Running MessageDigestExampleSHA1
The MessageDigestExampleSHA1 sample application uses the Entrust implementation of the SHA1 MessageDigest to create a message digest (hash).
To run this sample application, execute the following command line in the etjava/examples directory.
java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.crypto.MessageDigestExampleSHA1For example:
C:\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.crypto.MessageDigestExampleSHA1Installing providers... DONECalculating digest... DONEdigest: 49:41:79:71:4A:6C:D6:27:23:9D:FE:DE:DF:2D:E9:EF:99:4C:AF:03Re-calculating digest... DONEdigest: 49:41:79:71:4A:6C:D6:27:23:9D:FE:DE:DF:2D:E9:EF:99:4C:AF:03