Ooh, I just did something with this, and I should finish the draft blog post for it:
* write encrypted zeroes
* decrypt it and count the zeroes
I think cbc mode is enough. I see a possible computational loophole, which I want to check before I post.
* write encrypted zeroes
* decrypt it and count the zeroes
I think cbc mode is enough. I see a possible computational loophole, which I want to check before I post.
I was on a machine with limited user space. I used OpenSSL, no new binaries, reading and writing at close-to-wire speeds. "Counting zeroes" would track down where they don't match, doesn't it?
https://fight-flash-fraud.readthedocs.io/en/latest/usage.htm...
I've used it on a 2GB microSD that came with a 3d printer that turned out to be 100MB. I continued to use it to transport files to my 3d printer for a bit with this.