A cipher is a way of encrypting and decrypting data so that the data cannot be viewed or tampered with by unauthorized parties.

Good ciphers can be publicized

A cipher is good when it can be publicized without undermining its security. A cipher is bad when people can decrypt ciphertexts easily once they know the algorithm–security by obscurity.