All Projects → kste → keycommitment

kste / keycommitment

Licence: MIT License
Sample implementations of the attacks shown in https://eprint.iacr.org/2020/1456

Programming Languages

Sage
50 projects

Overview

This repository contains sample implementations for creating a valid ciphertext which will decrypt under two different keys for AES-GCM, AES-GCM-SIV and AES-OCB3. For more details on this see our paper "How to Abuse and Fix Authenticated Encryption Without Key Commitment".

The implementations require Sagemath and the GCM and OCB implementations require PyCryptodome.

The mitra_* versions of the script can be used to take polyglots generated with https://github.com/corkami/mitra as input.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].