starts method

void starts()

Implementation

void starts() {
  x1 = generateArray(AddressConstant().v4, 4);
  alpha1 = generateArray(AddressConstant().lA, 8);
  y1 = generateArray(AddressConstant().v8, 8);
  List<int> tempMat = multiplyMatrices(x1, AddressConstant().G, 4, 8);
  s0 = List<int>.generate(tempMat.length, (j) => 0, growable: false);
  for (int i = 0; i < alpha1.length; i++) {
    s0[i] = (tempMat[i] + alpha1[i]) % 2;
  }
  y1 = checkComply(y1, s0);
}