From 0f82454032665192eaafec9dd76e88e7efa35b9f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 22 Jun 2019 18:34:16 +0200 Subject: Began presentation --- encrypt.py | 1 + 1 file changed, 1 insertion(+) (limited to 'encrypt.py') diff --git a/encrypt.py b/encrypt.py index 00d4778..a02645f 100644 --- a/encrypt.py +++ b/encrypt.py @@ -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)) -- cgit v1.2.3