linear_cryptanalysis

simple linear cryptanalysis attack on an spn
git clone git://git.superpozycja.net/linear_cryptanalysis
Log | Files | Refs | README

commit 3c9ce6201f44c63c362ff84fdf20acf6481ce0c7
parent 8b5a1e41f117c541ccec4d2eea6d8872ad8bee1e
Author: superpozycja <anna@superpozycja.net>
Date:   Thu, 12 Sep 2024 22:29:38 +0200

test something 2

Diffstat:
Msrc/main.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -4,5 +4,6 @@ fn main() { let pt = [0b0010_0110, 0b1011_0111]; let key = [0b0011_1010, 0b1001_0100, 0b1101_0110, 0b0011_1111]; let ct = la::encrypt(&pt, &key); + la::print_block(&ct); }