Crypto-Without a Trace
Gone with the wind, can you find my flag? - Anakin
Last updated
Gone with the wind, can you find my flag? - Anakin
Last updated
The check()
calculates the determinant of the matrix and fun()
multiplies the flag diagonal matrix with the input diagonal matrix
Let f1,f2,f3,f4,f5
be the flag values and let i1,i2,i3,i4,i5
be the inputs that we provide. Then the trace of the matrix multiplication is
Since we can't put any of the inputs to be 0 (because the determinant would be 0) , therefore we first put all the inputs as 1, then change each input to 2 and subtract it from the first value to get the flag