FlstObstrufucate script

How to use it from php:

You can use this text to make a text hard to read for normal users. The script works in php and javascript(you can comunicate with javascript or php via generated code).

  1. Create a new object: $ob= new FlstObstrufucate();
  2. Encode a string: $ob->encode('Decode me please',3). Where 3 is the density key
  3. Decode a string: $ob->decode('Gphfrogh#kph#Rsohgdvhl' ,3). Where 3 is the density key that was used when it was encoded

The density number shouldn't be bigger then the string length and it must be the same for decode and encode

How to use it from Javascript:

  1. Create a new object:var ob= new FlstObstrufucate();
  2. Encode a string: ob.encode('Decode me please',3). Where 3 is the density key
  3. Decode a string: ob.decode('Gphfrogh#kph#Rsohgdvhl' ,3). Where 3 is the density key that was used when it was encoded

How to use it from Actionscript:

  1. Create a new object:var ob:FlstObstrufucate = new FlstObstrufucate();
  2. Encode a string: ob.encode('Decode me please',3). Where 3 is the density key
  3. Decode a string: ob.decode('Gphfrogh#kph#Rsohgdvhl' ,3). Where 3 is the density key that was used when it was encoded

Here is a adobe flash demo. The zip file contains and a fla file along with the .as FlstObstrufucate as3 class

Text encoded(delete the left text to encode again) Text decoded(delete the text to decode again)

(javascript button version is not available in this demo, check out the video demmo[will be added after the item has been approved])