Skip to main content

New answers tagged

0 votes

OpenSSL AES-GCM says 'bad decrypt', other block modes work fine?

Since aes-128-gcm decrypt does not work in openssl command line, I ended up using the AES-GCM .NET 8 implementation through PowerShell: ...
Peter Drabik's user avatar
1 vote

Hardcoded PBKDF2 salt for password based AES-GCM?

One of the problems of not using a random - or at least unique - salt is that you will always be using the same key. That means that an adversary can (pre-)compute lots of keys from a set of passwords ...
Maarten Bodewes's user avatar
  • 94.5k
-1 votes

Hardcoded PBKDF2 salt for password based AES-GCM?

Each different password should always have its own unique salt. But there is no reason for the same password to be hashed with different salts for each key generation, unless you actually want ...
n-l-i's user avatar
  • 921
1 vote

Hardcoded PBKDF2 salt for password based AES-GCM?

No, it's not safe to use a fixed salt. Salts are random. The reason for using a random salt is that if two people used the same password and run it through your implementation they'll create ...
Swashbuckler's user avatar
  • 2,118

Top 50 recent answers are included