Not the Japanese Purple code.
http://en.wikipedia.org/wiki/Purple_code#Weaknesses_and_Cryptanalysis
http://en.wikipedia.org/wiki/William_Friedman
"In 1941 Friedman was hospitalized with a "nervous breakdown",
generally attributed to the mental strain of his work on PURPLE. While
he remained in hospital, a four-man team — Abraham Sinkov and Leo
Rosen from SIS, and Lt. Prescott Currier and Lt. Robert Weeks from the
U.S. Navy's OP-20-G — visited the British cryptological establishment
at the "Government Code and Cypher School" in Bletchley Park. They
gave the British a PURPLE machine, in exchange for details on the
design of the Enigma machine and on how the British decrypted the
Enigma cipher.
However Freidman was to visit Bletchley Park in April 1943 and play a
key role in drawing up the 1943 BRUSA Agreement."
You don't bother to do any reading or research, do you? You just sort
of repeat rumors you imagine that you heard.