hzrd149 on Nostr: #askNostr for the few cryptographers out there. If I'm using scrypt to derive a key ...
#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
Published at
2024-03-14 13:08:19Event JSON
{
"id": "c945a8e49ff5d6610761c49803206bf84f4525bba8625e367c1498b844e9df15",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1710421699,
"kind": 1,
"tags": [
[
"t",
"asknostr"
]
],
"content": "#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\n\nSorry if this dose not make any sense, I'm still trying to learn about all the cryptography stuff",
"sig": "80e0b6f9a9a21afab78d3eedfc6ab49e4c30faaf5414582aeee7b83d9d2e4cf5d1b1e33bf3582d2730895875643c467eeacd69278b26ac4d966e2b99302ebc13"
}