Skip to content

2bias123/trivium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust implementation of trvium stream cipher

Structure

  • Trivium consists of three LFSR’s of degrees 93, 84, and 111 for a total of 288 bits in the state
  • The output of each LFSR is combined (XOR-ed) with the output of another LFSR before replacing the bit at the left-most position (Green)
  • Two bits of each LFSR are combined (AND-ed) and then XOR-ed with the output (Blue)
  • This is XOR-ed with another cell from the LFSR (Red)
  • The results of the above steps for each LFSR are XOR-ed together and their value is the output at the current step (Light Blue) Alt text S. Kaleyski, N. (2023) 'Trivium' [Lecture], INF143/a: "Anvendt kryptografi". UiB. 26. January.

About

Implementation of trivium cipher in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages