Skip to content

joannesberndt/GOST2-128-GOLAND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GOST2-128-GOLAND

Block encryption with GOST2-128 in ECB mode (Go language)

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

  • go run gost2-128.go

  • go build gost2-128.go

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

Releases

No releases published

Packages

No packages published

Languages