 On the other hand, if keeping the algorithm secret is not important, but only the "keys" used with the algorithm must be secret, then disclosure of the keys simply requires the simpler, less costly process of generating and distributing new keys.In accordance with Kerckhoffs's principle, the majority of civilian cryptography makes use of publicly known algorithms.By contrast, ciphers used to protect classified government or military information are often kept secret (see Type 1 encryption).