As long as humans have been plotting amongst one another there must have been demand for 'codes' to keep the communications to a select few “In the Know”.
“The story of Codes” is a fascinating insight into those codes over the millennia, although I wouldn't have fancied being the cipher clerk...