wang2000star / AlgebraicAttackOnRasta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There are two kinds of code. One is wriiten in c++ and the other is written in sage.

  1. The c++ code can only be used to test the 2-round attack on smalle-state Rasta and it is much more efficient than the sage code.

  2. The sage code can be used to test the 3-round attack and we can benefit from its simplicity.

  3. In the sage code, you can change the parameter for n (denoting the block size) and Round (denoting the number of rounds). You can run the code with the command ''sage algebraicAttack.sage''

  4. In the c++ code, you can change the parameter BS (block size) in Rasta.h.

About


Languages

Language:C++ 70.4%Language:Sage 29.6%