Global Feed Post Login
Replying to Avatar hzrd149

#askNostr for the few cryptographers out there. If I'm using scrypt to derive a key from a password. is it safe to reuse the salt on multiple files I'm encrypting? or should it be treated like the nonce where it should be different for each file encrypted

Sorry if this dose not make any sense, I'm still trying to learn about all the cryptography stuff

Avatar
calle 1y ago

nonce's are called nonces because you should only use n "once".

Often you'll get rekt if you do (i.e. your private key can be calculated).

Reply to this note

Please Login to reply.

Discussion

No replies yet.