it was a decoding unit designed around the principles of the converter that had cracked the famous enigma , the cipher machine used by the german high command to send encrypted messages in the second world war .