From-scratch image-based encryption algorithm. Ready-to-use PHP code of the online app Chromatic Encryption in
PHP ApacheConf
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Chromatic Encryption

This code is very similar to the one of the original v.1.3 in ( I have only removed/adapted parts dealing with private or irrelevant information. The functionalities (encryption/decryption) are identical.

This is a ready-to-use application which only needs the following basic modifications:

  • Updating the DB-connection information in the db.php file.
  • Creating the basic0 table in the DB by using basic0_dump.sql.
  • Updating the values of the URL/path variables at the top of the index.php file by emulating the provided (original) examples.
  • The original code deals with .htaccess-modified URLs. The attached sample file contains the only RewriteRule which is required to execute this code.

For the time being, I will not explain the algorithm or include descriptive comments.


I, Alvaro Carballo Garcia (= varocarbas), am the sole author of each single bit of this code.

Equivalently to what happens with all my other online contributions, this code can be considered public domain. For more information about my copyright/authorship attribution ideas, visit the corresponding pages of my sites: -- ES: -- ES: