Cryptography was born out of the need for secure communication in the Second World War. It has evolved in the digital era with elements of mathematical theory and computer science to become a way to secure communications, You can even take physical coins and notes: What ar they else than restricted entries during a public physical info which will solely be modified if you match the condition than you physically own.
👍