print(tan(int.from_bytes(open("plain.txt", "rb").read().strip(), "big")).n(1024))
Its sage code. How difficult or easy is it to recover the plaintext from the output of this code? I don't think the hash collision, or second preimage attack will be usefully unless we know the length of the plaintext.
Is there any possible way to recover the plaintext efficiently or is there no other way?
hello
and ends withworld.
then is it possible to find using any method or attack? $\endgroup$