# HG changeset patch # User Brian Neal # Date 1373657571 18000 # Node ID 35b5eb90f5adfa845f0314eb93cf8b4843f6b05f # Parent 0a3e4bc491188b34d1a350d05a84665c11599435 Double the length of the internal message indicator as I have seen 12 not be enough. diff -r 0a3e4bc49118 -r 35b5eb90f5ad m209/procedure.py --- a/m209/procedure.py Fri Jul 12 14:17:02 2013 -0500 +++ b/m209/procedure.py Fri Jul 12 14:32:51 2013 -0500 @@ -137,9 +137,12 @@ elif sys_ind is None: sys_ind = random.choice(M209_ALPHABET_LIST) - # Generate internal message indicator + # Generate internal message indicator. + # Note that the training film instructs the operator to encipher the + # system indicator 12 times. Occasionally I have found this is not + # enough letters. We double it to 24. - int_msg_ind = self.m_209.encrypt(sys_ind * 12, group=False) + int_msg_ind = self.m_209.encrypt(sys_ind * 24, group=False) self.m_209.letter_counter = 0