public class HacBC extends Hac
| Constructor and Description |
|---|
HacBC(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 new synchronized (thread-safe) instance.
|
authenticate, authenticateToString, authenticateToString, synchronizedHacpublic HacBC(byte[] key)
key - encryption keypublic static Hac newSynchronizedInstance(byte[] key)
key - keypublic byte[] authenticate(byte[] message)
Hacmessage.authenticate in class Hacmessage - the message to authenticateCopyright © 2011-2012. All Rights Reserved.