It seems that crypto_box_easy
, generates a random nonce and appends it to the cipher text in libsodium.
I understand using the same nonce with the same key can be catastrophic with salsa20poly1305
, as such is it bad practice to re-use the same public/private (static) curve25519
keys when using crypto_box_easy?
Is it safe enough to assume that libsodium will ensure a random nonce is always used, or should curve25519
keypairs be regenerated on each use?