#AskFedi: Cryptography question: when implementing an encrypted storage system that also deduplicates (ie. the same plaintext data should result in the same ciphertext), is there any reason why the nonce shouldn't also be deterministically derived from the input data?
(I understand the security tradeoffs introduced by having deduplication, I am only asking about whether specifically a deterministic *nonce* introduces any additional issues beyond that)
@joepie91 your main reason not to do this should be, that you have no benefit from doing it, while still throwing out all the existing research into your ciphers.
Cryptography isn't secure, because someone looked into it and said it's secure, but because hundreds of people looked into it and nobody said it's not secure.
@weddige The nonce in this case would be derived through a (cryptographically secure) hashing function of some kind, so different inputs would be encrypted with different nonces, but copies of the same input would use the same nonce.