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, wait
isEncryptThenMac
public static final int KEY_BYTES
public String getAlgorithm()
getAlgorithm
in interface AlgorithmNameProvider
public void init(byte[] key) throws Exception
public void updateUInt(long value)
updateUInt
in interface Mac
public void doFinal(byte[] out, int offset) throws Exception
public int getBlockSize()
getBlockSize
in interface MacInformation
public int getDefaultBlockSize()
getDefaultBlockSize
in interface MacInformation
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.