Interface MessageExpansion

All Known Implementing Classes:
XmdMessageExpansion

public interface MessageExpansion
The MessageExpansion interface defines a contract for expanding a message.
  • Method Summary

    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 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 expanded
      dst - domain separation tag
      lenInBytes - the desired length of the expanded message in bytes
      Returns:
      the expanded message as a byte array