md   :tools  services   résumé   portfolio   pursuits   contact 

rotten text codec


This self-inverse text coder/decoder employs a substitution cypher similar to rot13, only meaner. It cyphers all the printable ASCII characters except for single quote, double quote, backslash, dollar sign, less-than, greater-than, and ampersand (to make it easier to embed encoded text into HTML, XML, JavaScript, and PHP).

An example of this in use is on my contact page. (The text in the left column on that page does not appear anywhere in the HTML). That way, my address and phone numbers aren't easily harvested by a spammer's robot. View Source to see the secrets. The rotten() JavaScript function does all the encoding and decoding and can be used in your pages. -lv7ts

Sample | Swap | Clear
Input: Type or paste plain or encoded text
   Output: Encoded or decoded text

  COPYRIGHT © MORGAN DAVIS