Package org.bouncycastle.crypto
Interface KeyedXOFOperatorFactory<T>
- Type Parameters:
T- the parameters type for the XOF calculator we produce.
- All Known Implementing Classes:
FipsKeyedXOFOperatorFactory,FipsSHS.KeyedXOFOperatorFactory
public interface KeyedXOFOperatorFactory<T>
Base interface for a creator of a keyed extendable output function (XOF) calculators.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOutputXOFCalculator(SymmetricKey key, T parameters) Create an extendable output function calculator which provides an OutputStream to write data to.
-
Method Details
-
createOutputXOFCalculator
Create an extendable output function calculator which provides an OutputStream to write data to.- Parameters:
key- the secret keyto initialise the XOF with.parameters- configuration parameters for the function.- Returns:
- an XOF calculator.
-