Argyle-Software / kyber

A rust implementation of the Kyber post-quantum KEM
https://docs.rs/pqc_kyber/
Apache License 2.0
163 stars 37 forks source link

Is using the same nonce secure? #114

Open bingmatv opened 1 week ago

bingmatv commented 1 week ago

The nonce should be random, but what if I cache the nonce in memory for each encryption? Is using the same nonce for each encryption secure?