Use turbo mode. Press the buttons to encrypt/decrypt. You cannot decrypt until you have encrypted the image. Make sure YOU SET THE KEY before decrypting. Be patient. Takes a couple of minutes to encrypt/decrypt. Perhaps, maybe, use forkphorus: https://forkphorus.github.io/#384952073 But keep in mind, the pen in forkphorus has issues so the images will "bleed" into each other.
How does this work? The Ikeda Map produces attractor values which are chaotic. I convert the image data and the attractor data into binary and perform a bitwise XOR operation. The XOR list is then converted into decimal. The result is a scrambled image. I may add more steps to the algorithm to make a stronger encryption but really, this is more of a proof-of-concept. Plus, these lists are annoying because Scratch refuses to save when a project has large lists :| Here is a diagram of the algorithm: http://cubeupload.com/im/littlebuddy/XOREncryptionDiagram.png This work was inspired by various articles I've found online. One such article contains the reference to the proposal of a simple XOR function for encyption: https://www.researchgate.net/publication/269984190_Dynamic_Chaotic_Look-Up_Table_for_MRI_Medical_Image_Encryption#pf2 Jeez, the binary conversions are so slow :| I may optimize them later.