upvote
Convert the plaintext to a number using some reversible encoding scheme. For instance, if the plaintext is an ASCII string, then take the ASCII index for each character to get fixed length binary strings, combine those strings.

Take that number, raise it to the power of e, and take the remainder after division of that number by n.

reply