I was reading up on how to convert strings to integer representations for RSA encryption. See this link. Basically, the string-to-integer conversion goes as follows:
a(char_1)*256^n + a(char_2)*256^(n-1) + ... + a(char_n)*256^0
where
n = string length a(char) = ASCII representation of the character
My question is how you would convert from the integer back to the original string. This link says to perform the inverse of the original algorithm, but I don't know how I would go about doing that.