public class Poly1305Mac extends Object implements Mac
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_BYTES |
| Constructor and Description |
|---|
Poly1305Mac() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFinal(byte[] out,
int offset) |
String |
getAlgorithm() |
int |
getBlockSize() |
int |
getDefaultBlockSize() |
void |
init(byte[] key) |
void |
update(byte[] in,
int offset,
int length) |
void |
updateUInt(long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEncryptThenMacpublic static final int KEY_BYTES
public String getAlgorithm()
getAlgorithm in interface AlgorithmNameProviderpublic void init(byte[] key)
throws Exception
public void updateUInt(long value)
updateUInt in interface Macpublic void doFinal(byte[] out,
int offset)
throws Exception
public int getBlockSize()
getBlockSize in interface MacInformationpublic int getDefaultBlockSize()
getDefaultBlockSize in interface MacInformationCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.