4 ms·
Maybe it's too naïve of a question, but why not just using XORs? Let's say we have a file that we want to split into 4 encrypted shards. We could just generate
by manbitesdog 3y ago
Maybe it's too naïve of a question, but why not just using XORs?
Let's say we have a file that we want to split into 4 encrypted shards. We could just generate 3 random files, and make the fourth one be a bitwise XOR of the 3 files plus the original one. Then, doing a bitwise XOR of the 4 encrypted shards will return the original file.
Assuming the PRNGs are unbiased, how would this method not be safe enough?
- deleted 3y ago[deleted]
- manbitesdog 3y agoIn case this method makes sense, I'm already registering the EXOrDIA name for a python package: https://github.com/juancroldan/exordia https://github.com/juancroldan/exordia
- Kharacternyk 3y agoWith XOR you need all the shards to restore the file. With SSS you can lose a predefined number of shards and still restore the file with the other shards.