Method | Description | |
---|---|---|
BlockUpdate ( byte input, int inOff, int len ) : void | ||
DoFinal ( byte output, int outOff ) : int | ||
GetMacSize ( ) : int | ||
Init ( ICipherParameters parameters ) : void |
Initialises the Poly1305 MAC.
|
|
Poly1305 ( ) : System | ||
Poly1305 ( IBlockCipher cipher ) : System | ||
Reset ( ) : void | ||
Update ( byte input ) : void |
Method | Description | |
---|---|---|
ProcessBlock ( ) : void | ||
SetKey ( byte key, byte nonce ) : void | ||
mul32x32_64 ( uint i1, uint i2 ) : ulong |
public BlockUpdate ( byte input, int inOff, int len ) : void | ||
input | byte | |
inOff | int | |
len | int | |
return | void |
public DoFinal ( byte output, int outOff ) : int | ||
output | byte | |
outOff | int | |
return | int |
public Init ( ICipherParameters parameters ) : void | ||
parameters | ICipherParameters | a {@link ParametersWithIV} containing a 128 bit nonce and a {@link KeyParameter} with /// a 256 bit key complying to the {@link Poly1305KeyGenerator Poly1305 key format}. |
return | void |
public Poly1305 ( IBlockCipher cipher ) : System | ||
cipher | IBlockCipher | |
return | System |