A method for altering text displayed in a formatted page, including locating a
buffer of memory locations containing contents of a formatted page, locating a
first text string between two markers within the buffer, the first string being
an encrypted text string including N characters, replacing the first text string
with a second text string, the second string being a decrypted text string including
M characters, where M is less than N, and inserting N-M special fill characters
in the N-M unfilled memory locations between the markers, so as to avoid the need
to move the markers closer together.