I'd bet it starts earlier, in the guilds in Europe. Idk, but I've listened to a few lectures about those guilds and how they were writing laws both for their cities and inside their guild, and their use of ciphers to encode their messages. This goes back to at least the 12th century