Skip to content

GOST2-128 Block cipher encryption source code in C. 4096-bit keys, 128-bit block cipher (like AES), 64 rounds.

Notifications You must be signed in to change notification settings

MikeVangrouss/GOST2-128

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

GOST2-128 Encryption Cipher

GOST2-128 Block cipher encryption source code with 4096-bit keys.

GOST 2-128 was released in 2016. It has exactly the same design as GOST but has twice as many S-tables and uses 64-bit integers instead of 32-bit integers. It no longer works on 64-bit blocks but on 128-bit blocks like AES. The two S-tables are those of the Central Bank of Russian Federation and that of the GOST R 34.12-2015 standard. GOST had 256-bit keys that were reused as subkeys. In GOST 2-128, subkeys are generated by a one-way hash function, representing 4096 bits. Thus, no weak keys exist and attacks against GOST do not work in GOST 2-128.

GOST2-128 uses 128-bit blocks, not to be confused with old GOST2 which only uses 64-bit blocks and has no subkeys generated by a one-way hash function : https://eprint.iacr.org/2016/532