public interface HelixPrimitive
Modifier and Type | Method and Description |
---|---|
int |
bufferSize()
Returns the number of bytes that are currently buffered.
|
byte[] |
feed(byte[] part)
Processes the next sequence of input bytes.
|
byte[] |
finish(byte[] part)
Completes a Helix encryption/decryption operation.
|
byte[] |
getGeneratedMac()
Returns the MAC that was generated following a successful
encryption/decryption operation.
|
byte[] feed(byte[] part)
part
- the next sequence of bytes to be processed by this primitiveint bufferSize()
byte[] finish(byte[] part)
If this method completes successfully, the generated MAC can be retrieved
using the getGeneratedMac()
method.
part
- the last input bytes to be fedbyte[] getGeneratedMac()
Copyright © 2010-2015 Matthew Zipay. All Rights Reserved.