Interface MessageExpansion
- All Known Implementing Classes:
XmdMessageExpansion
public interface MessageExpansion
The MessageExpansion interface defines a contract for expanding a message.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]expandMessage(byte[] msg, byte[] dst, int lenInBytes) Expands the given message to match the specified length in bytes.
-
Method Details
-
expandMessage
byte[] expandMessage(byte[] msg, byte[] dst, int lenInBytes) Expands the given message to match the specified length in bytes.- Parameters:
msg- the original message to be expandeddst- domain separation taglenInBytes- the desired length of the expanded message in bytes- Returns:
- the expanded message as a byte array
-