A code 2 is a Starfleet encryption protocol used when transmitting near unfriendly territory until the mid-23rd century when the Romulans decrypted it. It was replaced by the Code 3. (TOS: "The Deadly Years")
Community content is available under CC-BY-NC unless otherwise noted.