Sometimes, ambassadors tend to employ ciphers common at the place they are resident.
I first noticed this in French figure ciphers about the sixteenth century. At the time, most French ciphers employed arbitrary/graphic symbols. The few numerical ciphers tend to be related to Italy. In the case of the Duke of Nevers, some of whose ciphers are numerical (another article), they may well have been derived from his personal Italian connections (the Duke of Nevers was from the Gonzagas). But I cannot see such obvious origins for Paul de Foix, ambassador in Rome, or "Mr de Maisse", ambassador in Venice (another article). The Vatican employed purely numerical ciphers from an early period. (The Venetians introduced numerical ciphers in 1622 Paolo Bonavoglia, "Ottavian Medici and the decline of Venetian cryptography", HistoCrypto 2023, p.22.) It is as if the local courts had initiated the ambassadors with their ciphers, which is improbable for obvious reasons.
I also noticed ciphers with vowel indicators were used by people of several nationalities related to Milan (another article). But the evidence does not yet show any specific relation among those ciphers.
In 2021, I found clearer specimens suggesting Italian influence to French ciphers when I was studying ciphers of Colbert de Croissy (another article). He used ciphers consisting of figures with diacritics in 1659 (DE=28) and 1660 (DE=42~) when he was Intendant of Alsace. But he switched to a purely numerical cipher (1660-1661) during his mission to Rome (DE=91). He used another numerical cipher in Cleves in 1666 (DE=151), but reverted to figures with diacritics (1668-1674) in his London embassy (DE=68), as I pointed out in a blogpost at the time. But I know no evidence that shows Colbert learned numerical ciphers from Italians.
Is it possible that local officials disclose their cipher to foreign ambassadors? It seems out of the question, but I found an episode in which Sir William Temple, an English ambassador at the Hague, studied an enciphered dispatch he could not discuss with John de Witte, the leader of the Dutch Republic.
Temple reported in his letter dated 3 February 1668NS (Temple (1701)) to secretary of state, Arlington that he could not decipher the two letters he received. It seems the cipher employed some new scheme devised by Samuel Morland (as I quoted in another article), but Morland let him practice the cipher only for half an hour, in a rush just before his return to The Hague. Surprisingly, Temple discussed the cipher with De Witt.
It is desired to study records of ambassadors to find more episodes of this kind of exchange of cryptographic information.
(It is known De Puebla, Spanish ambassador in London, showed his despatch in cipher to Henry VII (another article), but this is too early to be the basis of cryptographic practice in later times.)