encipher method

void encipher(
  1. Uint32List x, [
  2. Uint8List? x8
])

Implementation

void encipher(Uint32List x, [Uint8List? x8]) {
  x8 ??= Uint8List.sublistView(x);
  x[0] ^= P[0];
  for (var i = 1; i < 16; i += 2) {
    x[1] ^= F(S, x8, 0) ^ P[i];
    x[0] ^= F(S, x8, 4) ^ P[i + 1];
  }
  var t = x[0];
  x[0] = x[1] ^ P[17];
  x[1] = t;
}