diff options
author | Marvin Borner | 2019-06-22 18:34:16 +0200 |
---|---|---|
committer | Marvin Borner | 2019-06-22 18:34:16 +0200 |
commit | 0f82454032665192eaafec9dd76e88e7efa35b9f (patch) | |
tree | 9643270c6b45757c096281bc2045b68c75a88cd7 /encrypt.py | |
parent | ce9c06fd5e41f77df6e0dbcc553e2ca290e20207 (diff) |
Began presentation
Diffstat (limited to 'encrypt.py')
-rw-r--r-- | encrypt.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -110,6 +110,7 @@ def encrypt(text, passphrase): else: mixed_matrix = mix_columns(diffused_matrix) merged_matrix = xor_matrices(mixed_matrix, round_keys[r + 1]) + print(" ".join([int_to_hex_string(item) for sublist in merged_matrix for item in sublist])) flat_matrix = [int_to_hex_string(item) for sublist in merged_matrix for item in sublist] print(" ".join(flat_matrix)) |