New answers tagged

1 vote

Does deriving a key from a master key and then encrypting with AES-GCM increase the lifetime of the master key?

Let's assume that we want to increase the lifetime of the master key. Can we do this by adding a key derivation step before the actual encryption? Assuming that we use the master key as input keying ...
user avatar
  • 84.6k
0 votes

Sharing RSA private keys using key exchange algorithms like Diffie–Hellman Algorithm?

This is going in the wrong direction, so I'll answer by showing two alternatives: Share e.g. a strong machine generated password for this with enough randomness to pass as a secret key. The reason to ...
user avatar
  • 84.6k
1 vote

Is AES GCM with PBKDF2 100k iterations still ok as of 2022?

It depends entirely on how strong the password is. 100,000 rounds of PBKDF2 for a password with a given hash adds the equivalent of $\log_2(100000) \approx 16.6$ bits of entropy compared to a single ...
user avatar
  • 12.9k

Top 50 recent answers are included