This machine was built to encrypt messages for the German's.

Answer