Skip to main content

New answers tagged

11 votes

What's a good way to append a nonce to ciphertext in Python for AES GCM in Python?

Just to add to Ja1024's very good answer, Google Tink's wire format is a good example of the sort of format suggested. It uses Protocol Buffers instead of JSON / base64 so might be a good option if ...
andycaine's user avatar
  • 1,305
10 votes
Accepted

What's a good way to append a nonce to ciphertext in Python for AES GCM in Python?

The output format doesn't matter for security as long as it's unambiguous, and there is no standard practice. If you want to use this in production over a long period of time, I recommend you add an ...
Ja1024's user avatar
  • 23.4k

Top 50 recent answers are included