Skip to main content
Became Hot Network Question
Tweeted twitter.com/StackCrypto/status/1385609451944693763
added 17 characters in body
Source Link
Maarten Bodewes
  • 97.1k
  • 14
  • 171
  • 328

If I encrypt a plaintext p using aesAES-256-gcm in GCM mode with the keys k1..kn$k_1 ... k_n$ and I want to decrypt it later, can I use the keys in any order when decrypting or do I have to use the same order as when encrypting but in reverse?

If not, is there a modern symmetric encryption algorithm that lets me perform the decryption in any order?

If I encrypt a plaintext p using aes-256-gcm with the keys k1..kn and I want to decrypt it later, can I use the keys in any order when decrypting or do I have to use the same order as when encrypting but in reverse?

If not, is there a modern symmetric encryption algorithm that lets me perform the decryption in any order?

If I encrypt a plaintext p using AES-256 in GCM mode with the keys $k_1 ... k_n$ and I want to decrypt it later, can I use the keys in any order when decrypting or do I have to use the same order as when encrypting but in reverse?

If not, is there a modern symmetric encryption algorithm that lets me perform the decryption in any order?

Source Link
Gamer2015
  • 236
  • 2
  • 9

Does AES encryption work like a padlock or like a safe?

If I encrypt a plaintext p using aes-256-gcm with the keys k1..kn and I want to decrypt it later, can I use the keys in any order when decrypting or do I have to use the same order as when encrypting but in reverse?

If not, is there a modern symmetric encryption algorithm that lets me perform the decryption in any order?