Ernst Fetterlein was in the Tzarist Russian Ministry of Foreign Affairs from 1896, and solved (among others) German, Austrian and British codes.
The Russians used an overcomplicated version of the Vigenère Cipher.