News for hackers. Stuff that matters.
Re:Hard Problems in Cryptocurrency: Five Years Later by optimiz3 on Sunday November 24, 2019 @03:07PM (#21622960)
Each hash input generates a code sequence that has to be executed 1000s of times in an inner loop. The code sequence is different for each input meaning there is no reason to save the JITted code as the next hash will use a new code sequence which you cannot predict.

  data = input;
  for (1..10)
  {
     JITtedCode = CodeGen(CryptographicHash(data));
     for (1..100000)
     {
        data = JITtedCode(data);
     }
     data = CryptographicHash(data);
   }
   output = data;

There are no comments on this comment yet.