Exploring codes, ciphers, and digital security