Interface MessageExpansion
-
- All Known Implementing Classes:
XmdMessageExpansion
public interface MessageExpansionThe MessageExpansion interface defines a contract for expanding a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]expandMessage(byte[] msg, byte[] dst, int lenInBytes)Expands the given message to match the specified length in bytes.
-
-
-
Method Detail
-
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
-
-