This is a cipher machine developed during World War 2. This was done by using probabilistic attacks.