I have a cipher algorithm that doesn't seem to be one of the "well known" ones I could find. I expect someone has already come up with this and I just don't know the name. Hoping one of you can point me in the right direction.
I don't think this falls foul of Should we allow questions about amateur ciphers? - but happy to be corrected.
Difficulty in recovering the original document from a compressed form that has been truncated. This is a symmetric-key cipher.
Example implementation: https://jsfiddle.net/i_e_b/8vd6efp0/
- Key is values [
255], shuffled; thus the key is always 256 bytes long.
- Plain-text is appended to the key (in the example, randomised padding is added between key and plain-text)
- A back-reference compression algorithm is run against the result of step 2.
This results in a set of
- The pairs are encoded as the output cipher-text
This came about from some analysis of the "aCROPalypse" vulnerability, how the original images could be recovered, and what conditions prevented parts of the image being recovered. I've searched around for it, but can't find anything.