Skip to main content
2 of 4
added 11 characters in body

How to find m so that RSA cipher end with '\x00'+SpesificString , if we freely input the plaintext?

I have a RSA encryption with e = 3 , and N (2048 bits)

i want to find the value of m (plaintext), so that the cipher (in bytes representation) value end with '\x00'+MySpesificString.

cipher = pow(m,e,n)

with m is any string, and cipher is "any string"+"\x00"+"MySpesificString"

How i can find the possible value of m?