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 including N characters,
replacing the first text string with a second text string within the
buffer, the second string being a decrypted text 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 within the buffer, so
as to avoid the need to move the markers closer together.