java.lang.Object | |
↳ | org.bouncycastle.crypto.macs.OldHMac |
HMAC implementation based on RFC2104 H(K XOR opad, H(K XOR ipad, text))
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
uses incorrect pad for SHA-512 and SHA-384 use HMac.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compute the final stage of the MAC writing the output to the out
parameter.
| |||||||||||
Return the name of the algorithm the MAC implements.
| |||||||||||
Return the block size for this MAC (in bytes).
| |||||||||||
Initialise the MAC.
| |||||||||||
Reset the mac generator.
| |||||||||||
add a single byte to the mac for processing.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.Mac
|
This constructor is deprecated.
uses incorrect pad for SHA-512 and SHA-384 use HMac.
Compute the final stage of the MAC writing the output to the out parameter.
doFinal leaves the MAC in the same state it was after the last init.
out | the array the MAC is to be output to. |
---|---|
outOff | the offset into the out buffer the output is to start at. |
Return the name of the algorithm the MAC implements.
Return the block size for this MAC (in bytes).
Initialise the MAC.
params | the key and other data required by the MAC. |
---|
Reset the mac generator.
add a single byte to the mac for processing.
in | the byte to be processed. |
---|