Open mcandre opened 4 years ago
I don't have a particularly strong background in encryption. Are you referring to the encryption step? Or the step where we write to the horcruxes.
For context, currently when we require N of N horcruxes, I'm writing through a demultiplexer to give the first 100 characters of the encrypted content to the first horcrux, the second 100 characters to the second horcrux, and so on.
I don't have a particularly strong background in encryption. Are you referring to the encryption step? Or the step where we write to the horcruxes.
XOR encryption for "N out of N" is actually quite simple. Instead of using SSS to generate N keys, you generate N random keys and XOR them all together. The result is your AES key.
For users who want to require exactly N of N keys, XOR would be the safest, most performant, most reliable option.