From 95dd783753ebc572286da3678143232121fe1305 Mon Sep 17 00:00:00 2001 From: Rich Wareham Date: Fri, 17 Sep 2010 13:35:31 +0100 Subject: [PATCH] fix human readable output again *tch* silly me. The human readable output was outputting only the first 4 56-bit values from each group of 5 in the key. --- generate_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_key.py b/generate_key.py index 1ef6646..8115e68 100755 --- a/generate_key.py +++ b/generate_key.py @@ -217,7 +217,7 @@ def output_human_readable(ksv, key, is_sink): print('\n%s Key:' % ('Sink' if is_sink else 'Source')) for idx in range(0, 40, 5): - print(string.join(key_strs[idx:idx+4], ' ')) + print(string.join(key_strs[idx:idx+5], ' ')) def output_json(ksv, key, is_sink): """Print a JSON version of the KSV and key.