Commit Graph

21 Commits

Author SHA1 Message Date
Sebastian Hugentobler f78d2e8124
no need to send the encrypted block twice 2022-03-22 21:23:49 +01:00
Sebastian Hugentobler 22fcf324e4
use cipher text from constant in test 2022-03-22 21:10:14 +01:00
Sebastian Hugentobler e1c2d7df7d
Fix CTR decryption.
Off by one error in respect to the y blocks.
2022-03-22 21:07:04 +01:00
Sebastian Hugentobler e04a341fc6
read iv from chiffre (still not correct but at least less wrong now) 2022-03-22 19:39:01 +01:00
Sebastian Hugentobler 3bc74649ad
push garbage 2022-03-22 17:21:33 +01:00
Sebastian Hugentobler 18cdd1ed81
factor out some constants 2022-03-21 09:42:50 +01:00
Sebastian Hugentobler 55876a7d33
add bit string to int array conversion 2022-03-21 09:38:13 +01:00
Sebastian Hugentobler 1fd74c6ec3
add documentation to spn functions 2022-03-19 18:14:16 +01:00
Sebastian Hugentobler 2d53d98437
keys that are not 0 or r need to be permutated during encryption 🤦 2022-03-19 16:58:44 +01:00
Simon Freiermuth 18515ea4cd add bin to gitignore 2022-03-18 11:25:54 +01:00
Sebastian Hugentobler 5bd4e640f2 spn decryption works 2022-03-17 21:22:57 +01:00
Sebastian Hugentobler 4c309352ed fix formatting 2022-03-17 18:03:10 +01:00
Sebastian Hugentobler 115ed2efbf implement bit swapping 2022-03-17 17:59:32 +01:00
Sebastian Hugentobler a399de663f remove class files 2022-03-17 16:28:42 +01:00
Simon Freiermuth c24b5ee75e Bit Flipper 2: A new hope oder so 🐬 2022-03-17 15:32:27 +01:00
Simon Freiermuth d631848d83 bit Flipper im the making 🐬 2022-03-17 15:03:39 +01:00
Simon Freiermuth 0851f73c88 Substituiton 2022-03-17 14:40:35 +01:00
Simon Freiermuth 682cd6f814 add .idea to gitignore 2022-03-17 12:48:54 +01:00
Sebastian Hugentobler 51a4b2d9bc fix k function 2022-03-17 12:46:28 +01:00
Sebastian Hugentobler 2a35bbbfab
start with the K function 2022-03-17 12:33:23 +01:00
Sebastian Hugentobler 5d32735080
initial commit 2022-03-17 11:55:48 +01:00