3 ms·
> It was too random to be encrypted That's a rather odd remark.
by abcd_f 6mo ago
> It was too random to be encrypted
That's a rather odd remark.
- bwiggs 6mo agoYou would still expect some amount of file structure, ex byte headers or something at the beginning/end of file. no?
- Crestwave 6mo agoThat would be expected for encodings or container file formats. Straight-up encryption like AES produces results that are visually indistinguishable from random data.
- throwawaysoxjje 6mo agoI’d expect the greater length of the encrypted data (which should look random) vs the structured header/footer to rapidly push the Shannon entropy to the maximum
- wang_li 6mo agoNo. Why would you? Encrypted data should look no different than random. The app figures out if it is the app's data after it attempts to decode it.
- justsomehnguy 6mo agoIt's not? Compare a random data from a pseudo gen, a really random data and some encrypted data. They are all different.
- BenjiWiebe 6mo agoIf it's a CSPRNG, and decent encryption, they'll be indistinguishable from random noise.
- fc417fc802 6mo agoEither you messed up somehow or you've made a massive discovery. I assume it's the former.