Skip to content

braqiiit/quant-cryptanalysis-Chacha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

quant-cryptanalysis-Chacha

This repository consists of experiments on a Few Quantum Cryptanalysis Techniques.
The folder structure is as follows:

  • ChaCha implementation
    • classical chacha.c: Classical ChaCha cipher implementation in C
    • classical with addition.ipynb: Notebook for classical ChaCha cipher implementation; easier to vary the number of bits in word size and constants
    • quantum rewired circuit.ipynb: Our Final Quantum ChaCha implementation (uses Cuccaro et al.'04 for addition modulo $2^n$, CNOT for XOR operations. rewiring for shift operations).
    • qubit and gate count.ipynb: Given a particular bit size, calculates the qubit count and depth of the circuit
  • ChaCha cryptanalysis
    • ID OD bias.ipynb: given a particular input difference and output difference position, generates the output difference
  • Finding linear approximations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages