You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicole Mirea 987e487597 Fix form action URL 8 years ago
demo Fix form action URL 8 years ago
LICENSE Initial commit 8 years ago Fix demo URL 8 years ago
xecryption-decrypt.php Add function to repo 8 years ago


A simple PHP function that decrypts the very weak XECryption algorithm.

Caveat: This decryption algorithm works by assuming that the [space] character is the most common one in the message, so it may not be as effective for strings that are only a couple words long.


  • webserver
  • PHP 5.4.36+ (may work on lower versions, but untested)


Include the xecryption-decrypt.php file wherever you want to use it. The function decrypt($encoded_message); will then return a string containing HTML ASCII characters, ready to be printed out on the page.


You can play with the live demo now, or navigate to the /demo folder on your own webserver. Decipher the following encrypted string, or generate your own encrypted messages using this page.