# per blob (never reused)
file_key = RAND_bytes(32)
blob_salt = RAND_bytes(16)
# per 64 KiB chunk i
chunk_key = HKDF(file_key, blob_salt,
"darkchan-blob-v1" || u32be(i))
aad = blob_id || u32be(i) || u8(is_final)
ct, tag = ChaCha20-Poly1305(chunk_key, 0^12,
aad, pt_i)