Closed Brissouille closed 5 years ago
I can reuse the insert function. If I omit the variable A, K9 and K10, I can create a variable aes2 with a fault. I must refactor the code
I create the simulate function to reuse in two function: insert function which allows to use exploit function and retrieve K10 and test function because I haven't got any other names.
Problems with dfa are solved. I create 2 functions, encrypt and exploit:
Create an encrypt function to simulate the cihper and faulted cipher