Nazi code that eluded the best cryptographers the Allied forces had to offer during World War II has been solved by an amateur codebreaker with the assistance of a network of computers.