public class HacJCE extends Hac
| Constructor and Description |
|---|
HacJCE(byte[] key)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
authenticate(byte[] message)
Authenticates given
message. |
static Hac |
newSynchronizedInstance(byte[] key)
Returns a synchronized (thread-safe) hac.
|
authenticate, authenticateToString, authenticateToString, synchronizedHacpublic HacJCE(byte[] key)
key - encryption key.public static Hac newSynchronizedInstance(byte[] key)
key - the encryption keypublic byte[] authenticate(byte[] message)
Hacmessage.authenticate in class Hacmessage - the message to authenticateCopyright © 2011-2012. All Rights Reserved.