question: I would like to use libsodium for secret-key encryption, but it requires a nonce, and I need the encryption to be deterministic/convergent (for deduplication).

Is "deriving the nonce from the data by hashing it" a reasonable solution to this problem, or does that have some issue I am not aware of?

Follow

@unnick Huh. Isn't ed25519 public-key crypto rather than secret-key?

· · Web · 1 · 0 · 0

@joepie91 oh i completely missed that youre talking about secret key crypto, oops

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.