4
votes
What best to put in unused nonce bytes when using AES-GCM-SIV
In short yes, nonces just need to be unique. Just zeroing "leftover" bytes is fine if your protocol can guarantee uniqueness with fewer bytes. In protocols the zero bytes are often ...
1
vote
Accepted
ChaCha20-Poly1305 and AES-GCM-SIV output size
I managed to free up just a little bit more than double the available space per message, so I can safely add a 128-bit tag so that we can have authenticated encryption.
The choice I am going to make ...
1
vote
Accepted
Deterministic salt for KDF
HKDF doesn't require a salt. It does make the HKDF stronger, but in principle you can just use it without salt (or, if you're not sure, with an unreliable salt).
The salt is mainly there required when ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
siv × 29authenticated-encryption × 9
deterministic-encryption × 9
aes × 7
nonce × 4
encryption × 3
hmac × 3
mac × 3
initialization-vector × 3
gcm × 3
block-cipher × 2
symmetric × 2
modes-of-operation × 2
ctr × 2
chacha × 2
hash × 1
rsa × 1
public-key × 1
authentication × 1
randomness × 1
pbkdf-2 × 1
file-encryption × 1
aes-gcm × 1
ecb × 1
birthday-attack × 1