def key_to_english(key):
 english = ''
 for index in range(0, len(key), 8):
  subkey = key[index:(index + 8)]
  skbin = _key2bin(subkey)
  p = 0
  for i in range(0, 64, 2):
   p = (p + _extract(skbin, i, 2))
  skbin = _key2bin((subkey + bchr(((p << 6) & 255))))
  for i in range(0, 64, 11):
   english = ((english + wordlist[_extract(skbin, i, 11)]) + ' ')
 return english[:(-1)]

def key_to_english ( key ) : english = '' for index in range ( 0 , len ( key ) , 8 ) : subkey = key [ index : ( index + 8 ) ] skbin = _key2bin ( subkey ) p = 0 for i in range ( 0 , 64 , 2 ) : p = ( p + _extract ( skbin , i , 2 ) ) skbin = _key2bin ( ( subkey + bchr ( ( ( p << 6 ) & 255 ) ) ) ) for i in range ( 0 , 64 , 11 ) : english = ( ( english + wordlist [ _extract ( skbin , i , 11 ) ] ) + ' ' ) return english [ : ( - 1 ) ]
key_to_english(key:string/bytes) : string transform an arbitrary key into a string containing english words .