Skip to content

Commit 2ad245c

Browse files
committed
update to ScyWeb
1 parent 5ea7376 commit 2ad245c

8 files changed

Lines changed: 7 additions & 4 deletions
2.08 MB
Loading
File renamed without changes.
636 KB
Loading
5.66 MB
Loading
File renamed without changes.

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Browsers have become state of the art applications. Many apps available on app s
99

1010
## Image scrambling
1111
Lossless compression is not used on unscrambled images so the original image might be much smaller when compared to the new unscrambled image. Preliminary checks have identified scrambled images with lossless compression substantially smaller than images encrypted to plain text. A scrambled image is a much better option than encrypting images and a more secure option than encrypting an entire database or container of images and decrypting that database or container on application boot up. Image scrambling can be used in conjunction with current compression algorithms without causing issues. Unfortunately, the default mode does not show a proof of concept for a smaller scrambled file size when compared to an encrypted string but the alternative mode does.
12-
- [Demo to prove scrambling is irreversible without Pseudorandom Number Generator (PRNG) 256-bit key/number created from password hash](https://demos.matthewbenchimol.com/ScyWeb/ScyWebImageTester.html)
13-
- The demo above calculates feasibility in unscrambling an image based on the original image using all open source, known information used in this project to conduct the scrambling. All modes have been immune to unscrambling reconstruction methods created by ChatGPT.
1412

1513
Important alternative method metrics have been listed below, showing alternative methods as a feasible replacement for encrypting images as strings:
1614
![Image Scrambling Metrics - Scrambling versus Encryption](https://raw.githubusercontent.com/mdbench/ScyWeb/master/Screenshot-2026-03-29-7.57.16-PM.png)
@@ -24,6 +22,11 @@ An encrypted string of the original image [glacier_og_image_4503x3002.jpg](https
2422

2523
> Encrypted string is 100%+ larger than scrambled image. Difference between fully compressed original image and fully compressed scrambled image is 20%+ larger file size. Viability of scrambling images as a substitute for image to string encryption confirmed.
2624
25+
### General deciphering resistance
26+
Below is a demo to prove scrambling is irreversible using visual heuristics without Pseudorandom Number Generator (PRNG) 256-bit key/number created from password hash with a caveat. Low quality images (600x300) with sharp edges and a small amount of colors (flags are the only archetype that meets this criteria) are easy to reconstruct when the image is known, making it possible for a similar image to partially but limitedly uncover portions of the image. However, high quality natural images are impossible to reconstruct and the test stops because continuing would likely crash your computer as the complexity increased. This doesn't mean it needs more compute. It means it will inevitably fail to compute because your hardware will fail before completion or you will die before it completes. You could run it anyways if you desired and you might get the top two rows of pixels reconstructed but it might take years and then not find any other rows for a milennia.
27+
- [Demo](https://demos.matthewbenchimol.com/ScyWeb/ScyWebImageTester.html)
28+
- The demo above calculates feasibility in unscrambling an image based on the original image using all open source, known information used in this project to conduct the scrambling. All modes have been immune to unscrambling reconstruction methods created by ChatGPT with the exception of low quality images that are non-natural graphics, like flags. If you test [the quantum ciphered LQ tester image](https://raw.githubusercontent.com/mdbench/ScyWeb/refs/heads/main/QUANTUM_enc_ImageReconstructionTesterIMG_LQ.jpg) with its [original uncipher version](https://raw.githubusercontent.com/mdbench/ScyWeb/refs/heads/main/ImageReconstructionTesterIMG_LQ.jpg), you will see it can unscramble the result! But, as soon as you move to natural images, especially higher quality ones, the complexity is too much for deciphering. Use [quantum cipher HQ tester image](https://raw.githubusercontent.com/mdbench/ScyWeb/refs/heads/main/QUANTUM_enc_ImageReconstructionTesterIMG_HQ.jpg) and [original uncipher version](https://raw.githubusercontent.com/mdbench/ScyWeb/refs/heads/main/ImageReconstructionTesterIMG_HQ.jpg) to see it stop early, admitting defeat!
29+
2730
### Quantum-resistant method
2831
Quantum-proofing confirmed. Need third-parties to verify.
2932
- Quantum resistance is a holistic approach, as the image must be indecipherable without the password but the image must also be quantum resistant from visual heuristic algos that attempt to coercively scramble the image back together.

ScyWebImageTester.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ <h1>Optimized Unscrambler with Smoothed Feasibility</h1>
3232

3333
<div id="container">
3434
<div class="canvas-wrapper">
35-
<h3 style="color:#bb86fc;">Original Image</h3>
35+
<h3 style="color:#bb86fc;">Scrambled Image</h3>
3636
<canvas id="originalCanvas" width="256" height="256"></canvas>
3737
</div>
3838
<div class="canvas-wrapper">
39-
<h3 style="color:#bb86fc;">Scrambled Image</h3>
39+
<h3 style="color:#bb86fc;">Original Image</h3>
4040
<canvas id="scrambledCanvas" width="256" height="256"></canvas>
4141
</div>
4242
<div class="canvas-wrapper">

0 commit comments

Comments
 (0)