New answers tagged nonce
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 ...
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 ...
Top 50 recent answers are included
Related Tags
nonce × 91authentication × 19
cryptography × 15
encryption × 14
hash × 11
tls × 10
passwords × 5
php × 5
csrf × 5
web-application × 4
http × 4
man-in-the-middle × 4
aes × 4
api × 4
random × 4
rest × 4
oauth2 × 4
attacks × 3
hmac × 3
storage × 3
openid-connect × 3
pbkdf2 × 3
xss × 2
wifi × 2
attack-prevention × 2