applyInv static method

List<int> applyInv(
  1. List<int> message
)

Applies the inverse F4Jumble transformation to the message.

Implementation

static List<int> applyInv(List<int> message) {
  if (!haveValidLength(message)) {
    throw ArgumentException.invalidOperationArguments(
      "applyInv",
      name: "message",
      reason: "Invalid message length.",
    );
  }
  final state = _F4JumbleState(message);
  try {
    return state.applyF4JumbleInv();
  } finally {
    state.clear();
  }
}