The National Security Agency took over responsibility for all US government encryption systems when it was formed in 1952. The technical details of most NSA-approved systems are still classified, but much more about its early systems have become known and its most modern systems share at least some features with commercial products. NSA and its predecessors have produced a number of cipher devices. Rotor machines from the 1940s and 1950s were mechanical marvels. The first generation electronic systems were quirky devices with cantankerous punched card readers for loading keys and failure-prone, tricky-to-maintain vacuum tube circuitry. Late 20th century systems are just black boxes, often literally. In fact they are called blackers in NSA parlance because they convert plaintext classified signals (red) into encrypted unclassified ciphertext signals (black). They typically have electrical connectors for the red signals, the black signals, electrical power, and a port for loading keys. Controls can be limited to selecting between key fill, normal operation, and diagnostic modes and an all-important zeroize button that erases classified information including keys and perhaps the encryption algorithms. 21st century systems often contain all the sensitive cryptographic functions on a single, tamper-resistant integrated circuit that supports multiple algorithms and allows over-the-air or network re-keying, so that a single hand-held field radio, such as the AN/PRC-148 or AN/PRC-152, can interoperate with most current NSA cryptosystems. Little is publicly known about the algorithms NSA has developed for protecting classified information, called Type 1 algorithms by the agency. In 2003, for the first time in its history, NSA-approved two published algorithms, Skipjack and AES, for Type 1 use in NSA-approved systems.
Security factors NSA has to deal with many factors in ensuring the security of communication and information (COMSEC and INFOSEC in NSA jargon):
Confidentiality: making sure messages cannot be read by unauthorized parties. Authentication: the validation of the source of transmitted messages. Nonrepudiation: making sure that transmitted messages cannot be forged. Traffic flow security: making sure an adversary cannot obtain information from traffic analysis, often accomplished by link encryption. Key management: getting keys securely to thousands of cipher devices in the field, perhaps the most difficult part of implementing an encryption system. One NSA goal is benign fill, a technology for distributing keys in a way that the humans never have access to plaintext key. Investigative access: making sure encrypted communications are accessible to the US government. While few would argue with the need for the government to access its own internal communications, the NSA Clipper chip proposal to extend this key escrow requirement to public use of cryptography was highly controversial. TEMPEST: protecting plaintext from compromise by electronic, acoustic, or other emanations. Tamper resistance, tamper-evident, self-destruct: ensuring security even if cipher devices are physically accessed without authorization or are captured. Meeting military specifications for size, weight, power consumption, mean time between failures, and ruggedness for use in mobile platforms. Ensuring compatibility with military and commercial communication standards. Electromagnetic pulse hardening: protecting against nuclear explosion effects, particularly electromagnetic pulse. Controlling cost: making sure encryption is affordable so units that need it have it. There are many costs beyond the initial purchase price, including the manpower to operate and maintain the systems and to ensure their security and the cost of key distribution. Enabling secure communication with allied forces without compromising secret methods.
Five generations of NSA encryption The large number of cipher devices that NSA has developed in its half century of operation can be grouped into five generations (decades given are very approximate):
First generation: electromechanical
First generation NSA systems were introduced in the 1950s and were built on the legacy of NSA's World War II predecessors and used rotor machines derived from the SIGABA design for most high level encryption; for example, the KL-7. Key distribution involved distribution of paper key lists that described the rotor arrangements, to be changed each day (the cryptoperiod) at midnight, GMT. The highest level traffic was sent using one-time tape systems, including the British 5-UCO, that required vast amounts of paper tape keying material.
Second generation: vacuum tubes
Second generation systems (1970s) were all electronic designs based on vacuum tubes and transformer logic. Algorithms appear to be based on linear-feedback shift registers, perhaps with some non-linear elements thrown in to make them more difficult to cryptanalyze. Keys were loaded by placing a punched card in a locked reader on the front panel. The cryptoperiod was still usually one day. These systems were introduced in the late 1960s and stayed in use until the mid-1980s. They required a great deal of care and maintenance, but were not vulnerable to EMP. The discovery of the Walker spy ring provided an impetus for their retirement, along with remaining first generation systems.
Third generation: integrated circuits
Third generation systems (1980s) were transistorized and based on integrated circuits and likely used stronger algorithms. They were smaller and more reliable. Field maintenance was often limited to running a diagnostic mode and replacing a complete bad unit with a spare, the defective cipher device being sent to a depot for repair. Keys were loaded through a connector on the front panel. NSA adopted the same type of connector that the military used for field radio handsets as its fill connector. Keys were initially distributed as strips of punched paper tape that could be pulled through a hand held reader (KOI-18) connected to the fill port. Other, portable electronic fill devices (KYK-13, etc.) were available as well.
Fourth generation: electronic key distribution
… excerpt ends here. Continue reading the full article.






