Research Article

On the Development of an Optimal Structure of Tree Parity Machine for the Establishment of a Cryptographic Key

Algorithm 2

Pseudocode geometric attack.
Data: outA, outB, outE, input, weightE
Result: none
1 initialization;
2 if != then
3  sigmaAbs abs(sum(input weightE));
4  sigmaSign sign(sum(input weightE));
5  sigmaSign[sigmaAbs.min()]
   -sigmaSign[sigmaAbs.min()];
6  tau prod(sigmaSign);
7  update(tau);
8 end