diff options
author | Marvin Borner | 2019-06-23 12:43:01 +0200 |
---|---|---|
committer | Marvin Borner | 2019-06-23 12:43:01 +0200 |
commit | 58c37bec9826396aa0da9f983007522c9a62107d (patch) | |
tree | 581268ae11115adb290bf054b24ac43e143bc7ed /encrypt.py | |
parent | 0740711fdeadb4765a2e1f495ed85b4846ef926f (diff) | |
parent | 0f82454032665192eaafec9dd76e88e7efa35b9f (diff) |
Merge remote-tracking branch 'origin/master'
# Conflicts:
# presentation/css/style.css
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)) |