calculateClientProof method

List<int> calculateClientProof(
  1. List<int> clientKey,
  2. List<int> clientSignature
)

Implementation

List<int> calculateClientProof(
  List<int> clientKey,
  List<int> clientSignature,
) {
  final clientProof = List<int>.filled(clientKey.length, 0);
  for (var i = 0; i < clientKey.length; i++) {
    clientProof[i] = clientKey[i] ^ clientSignature[i];
  }

  return clientProof;
}