In
telecommunications
Telecommunication, often used in its plural form or abbreviated as telecom, is the transmission of information over a distance using electronic means, typically through cables, radio waves, or other communication technologies. These means of ...
, a scrambler is a device that transposes or inverts signals or otherwise encodes a
message
A message is a unit of communication that conveys information from a sender to a receiver. It can be transmitted through various forms, such as spoken or written words, signals, or electronic data, and can range from simple instructions to co ...
at the sender's side to make the message unintelligible at a receiver not equipped with an appropriately set descrambling device. Whereas
encryption
In Cryptography law, cryptography, encryption (more specifically, Code, encoding) is the process of transforming information in a way that, ideally, only authorized parties can decode. This process converts the original representation of the inf ...
usually refers to operations carried out in the
digital
Digital usually refers to something using discrete digits, often binary digits.
Businesses
*Digital bank, a form of financial institution
*Digital Equipment Corporation (DEC) or Digital, a computer company
*Digital Research (DR or DRI), a software ...
domain, scrambling usually refers to operations carried out in the
analog domain. Scrambling is accomplished by the addition of components to the original signal or the changing of some important component of the original signal in order to make extraction of the original signal difficult. Examples of the latter might include removing or changing vertical or horizontal sync pulses in television signals; televisions will not be able to display a picture from such a signal. Some modern scramblers are actually
encryption
In Cryptography law, cryptography, encryption (more specifically, Code, encoding) is the process of transforming information in a way that, ideally, only authorized parties can decode. This process converts the original representation of the inf ...
devices, the name remaining due to the similarities in use, as opposed to internal operation.
In
telecommunications
Telecommunication, often used in its plural form or abbreviated as telecom, is the transmission of information over a distance using electronic means, typically through cables, radio waves, or other communication technologies. These means of ...
and
recording
A record, recording or records may refer to:
An item or collection of data Computing
* Record (computer science), a data structure
** Record, or row (database), a set of fields in a database related to one entity
** Boot sector or boot record, re ...
, a ''scrambler'' (also referred to as a ''randomizer'') is a device that manipulates a data stream before transmitting. The manipulations are reversed by a ''descrambler'' at the receiving side. Scrambling is widely used in
satellite
A satellite or an artificial satellite is an object, typically a spacecraft, placed into orbit around a celestial body. They have a variety of uses, including communication relay, weather forecasting, navigation ( GPS), broadcasting, scient ...
,
radio relay
Radio stations that cannot communicate directly due to distance, terrain or other difficulties sometimes use an intermediate radio relay station to relay the signals. A radio relay receives weak signals and retransmits them, often in a different di ...
communications and
PSTN
The public switched telephone network (PSTN) is the aggregate of the world's telephone networks that are operated by national, regional, or local telephony operators. It provides infrastructure and services for public telephony. The PSTN consists ...
modems. A scrambler can be placed just before a
FEC coder, or it can be placed after the FEC, just before the modulation or
line code
In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
. A scrambler in this context has nothing to do with
encrypting, as the intent is not to render the message unintelligible, but to give the transmitted data useful engineering properties.
A scrambler replaces sequences (referred to as ''whitening sequences'') with other sequences without removing undesirable sequences, and as a result it changes the probability of occurrence of vexatious sequences. Clearly it is not foolproof as there are input sequences that yield all-zeros, all-ones, or other undesirable periodic output sequences. A scrambler is therefore not a good substitute for a
line code
In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
, which, through a coding step, removes unwanted sequences.
Purposes of scrambling
A scrambler (or randomizer) can be either:
# An algorithm that converts an input string into a seemingly
random
In common usage, randomness is the apparent or actual lack of definite pattern or predictability in information. A random sequence of events, symbols or steps often has no order and does not follow an intelligible pattern or combination. ...
output string of the same length (e.g., by
pseudo-randomly selecting bits to invert), thus avoiding long sequences of bits of the same value; in this context, a randomizer is also referred to as a scrambler.
# An analog or digital source of unpredictable (i.e., high entropy), unbiased, and usually independent (i.e., random) output bits. A "truly" random generator may be used to feed a (more practical)
deterministic
Determinism is the metaphysical view that all events within the universe (or multiverse) can occur only in one possible way. Deterministic theories throughout the history of philosophy have developed from diverse and sometimes overlapping mo ...
pseudo-random
A pseudorandom sequence of numbers is one that appears to be statistically random, despite having been produced by a completely deterministic and repeatable process. Pseudorandom number generators are often used in computer programming, as tradi ...
random number generator
Random number generation is a process by which, often by means of a random number generator (RNG), a sequence of numbers or symbols is generated that cannot be reasonably predicted better than by random chance. This means that the particular ou ...
, which extends the
random seed
A random seed (or seed state, or just seed) is a number (or vector) used to initialize a pseudorandom number generator.
A pseudorandom number generator's number sequence is completely determined by the seed: thus, if a pseudorandom number gener ...
value.
There are two main reasons why scrambling is used:
* To enable accurate timing recovery on receiver equipment without resorting to redundant line coding. It facilitates the work of a
timing recovery circuit (see also
clock recovery
Clock recovery is a process in serial communication used to extract timing information from a stream of serial data being sent in order to accurately determine payload sequence without separate clock information. It is widely used in data communi ...
), an
automatic gain control
Automatic gain control (AGC) is a closed-loop feedback regulating circuit in an amplifier or chain of amplifiers, the purpose of which is to maintain a suitable signal amplitude at its output, despite variation of the signal amplitude at the inpu ...
and other adaptive circuits of the receiver (eliminating long sequences consisting of '0' or '1' only).
* For energy dispersal on the carrier, reducing inter-carrier signal
interference
Interference is the act of interfering, invading, or poaching. Interference may also refer to:
Communications
* Interference (communication), anything which alters, modifies, or disrupts a message
* Adjacent-channel interference, caused by extra ...
. It eliminates the dependence of a signal's
power spectrum
In signal processing, the power spectrum S_(f) of a continuous time signal x(t) describes the distribution of Power (physics), power into frequency components f composing that signal. According to Fourier analysis, any physical signal can be ...
upon the actual transmitted data, making it more dispersed to meet maximum power spectral density requirements (because if the power is concentrated in a narrow frequency band, it can interfere with adjacent channels due to the
intermodulation
Intermodulation (IM) or intermodulation distortion (IMD) is the amplitude modulation of Signal (electrical engineering), signals containing two or more different frequencies, caused by non-linear, nonlinearities or time variance in a system. ...
(also known as cross-modulation) caused by non-linearities of the receiving tract).
Scramblers are essential components of
physical layer
In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechani ...
system standards besides
interleaved coding and
modulation
Signal modulation is the process of varying one or more properties of a periodic waveform in electronics and telecommunication for the purpose of transmitting information.
The process encodes information in form of the modulation or message ...
. They are usually defined based on
linear-feedback shift register
In computing, a linear-feedback shift register (LFSR) is a shift register whose input bit is a Linear#Boolean functions, linear function of its previous state.
The most commonly used linear function of single bits is exclusive-or (XOR). Thus, ...
s (LFSRs) due to their good statistical properties and ease of implementation in hardware.
It is common for physical layer standards bodies to refer to lower-layer (physical layer and
link layer
In computer networking, the link layer is the lowest layer in the Internet protocol suite, the networking architecture of the Internet. The link layer is the group of methods and communications protocols confined to the link that a host is phys ...
) encryption as scrambling as well. This may well be because (traditional) mechanisms employed are based on feedback shift registers as well.
Some standards for
digital television
Digital television (DTV) is the transmission of television signals using Digital signal, digital encoding, in contrast to the earlier analog television technology which used analog signals. At the time of its development it was considered an ...
, such as
DVB-CA and
MPE, refer to encryption at the link layer as scrambling.
Types of scramblers
Additive (synchronous) scramblers

''Additive scramblers'' (they are also referred to as ''synchronous'') transform the input data stream by applying a
pseudo-random binary sequence (PRBS) (by modulo-two addition). Sometimes a pre-calculated PRBS stored in the
read-only memory
Read-only memory (ROM) is a type of non-volatile memory used in computers and other electronic devices. Data stored in ROM cannot be electronically modified after the manufacture of the memory device. Read-only memory is useful for storing sof ...
is used, but more often it is generated by a
linear-feedback shift register
In computing, a linear-feedback shift register (LFSR) is a shift register whose input bit is a Linear#Boolean functions, linear function of its previous state.
The most commonly used linear function of single bits is exclusive-or (XOR). Thus, ...
(LFSR).
In order to assure a synchronous operation of the transmitting and receiving LFSR (that is, ''scrambler'' and ''descrambler''), a ''
sync-word'' must be used.
A sync-word is a pattern that is placed in the data stream through equal intervals (that is, in each
frame
A frame is often a structural system that supports other components of a physical construction and/or steel frame that limits the construction's extent.
Frame and FRAME may also refer to:
Physical objects
In building construction
*Framing (con ...
). A receiver searches for a few sync-words in adjacent frames and hence determines the place when its LFSR must be reloaded with a pre-defined ''initial state''.
The ''additive descrambler'' is just the same device as the additive scrambler.
Additive scrambler/descrambler is defined by the polynomial of its LFSR (for the scrambler on the picture above, it is
) and its ''initial state''.
Multiplicative (self-synchronizing) scramblers

''Multiplicative scramblers'' (also known as ''feed-through'') are called so because they perform a ''multiplication'' of the input signal by the scrambler's
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
in
Z-space. They are discrete
linear time-invariant systems.
A multiplicative scrambler is recursive, and a multiplicative descrambler is non-recursive. Unlike additive scramblers, multiplicative scramblers do not need the frame synchronization, that is why they are also called ''self-synchronizing''. Multiplicative scrambler/descrambler is defined similarly by a polynomial (for the scrambler on the picture it is
), which is also a ''transfer function'' of the descrambler.
Comparison of scramblers
Scramblers have certain drawbacks:
* Both types may fail to generate random sequences under worst-case input conditions.
* Multiplicative scramblers lead to error multiplication during descrambling (i.e. a single-bit error at the descrambler's input will result in ''w'' errors at its output, where ''w'' equals the number of the scrambler's feedback taps).
* Additive scramblers must be reset by the frame sync; if this fails, massive error propagation will result, as a complete frame cannot be descrambled. (Alternatively if you know what was sent, the scrambler can be synchronized)
* The effective length of the random sequence of an additive scrambler is limited by the frame length, which is normally much shorter than the period of the PRBS. By adding frame numbers to the frame sync, it is possible to extend the length of the random sequence, by varying the random sequence in accordance with the frame number.
Noise
The first voice scramblers were invented at
Bell Labs
Nokia Bell Labs, commonly referred to as ''Bell Labs'', is an American industrial research and development company owned by Finnish technology company Nokia. With headquarters located in Murray Hill, New Jersey, Murray Hill, New Jersey, the compa ...
in the period just before
World War II
World War II or the Second World War (1 September 1939 – 2 September 1945) was a World war, global conflict between two coalitions: the Allies of World War II, Allies and the Axis powers. World War II by country, Nearly all of the wo ...
. These sets consisted of electronics that could mix two signals or alternatively "subtract" one signal back out again. The two signals were provided by a
telephone
A telephone, colloquially referred to as a phone, is a telecommunications device that enables two or more users to conduct a conversation when they are too far apart to be easily heard directly. A telephone converts sound, typically and most ...
and a
record player
A phonograph, later called a gramophone, and since the 1940s a record player, or more recently a turntable, is a device for the mechanical and analogue reproduction of sound. The sound vibration Waveform, waveforms are recorded as correspond ...
. A matching pair of records was produced, each containing the same recording of
noise
Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
. The recording was played into the telephone, and the mixed signal was sent over the wire. The noise was then subtracted out at the far end using the matching record, leaving the original voice signal intact. Eavesdroppers would hear only the noisy signal, unable to understand the voice.
One of those, used (among other duties) for telephone conversations between
Winston Churchill
Sir Winston Leonard Spencer Churchill (30 November 1874 – 24 January 1965) was a British statesman, military officer, and writer who was Prime Minister of the United Kingdom from 1940 to 1945 (Winston Churchill in the Second World War, ...
and
Franklin D. Roosevelt
Franklin Delano Roosevelt (January 30, 1882April 12, 1945), also known as FDR, was the 32nd president of the United States, serving from 1933 until his death in 1945. He is the longest-serving U.S. president, and the only one to have served ...
was intercepted and unscrambled by the
Germans
Germans (, ) are the natives or inhabitants of Germany, or sometimes more broadly any people who are of German descent or native speakers of the German language. The Basic Law for the Federal Republic of Germany, constitution of Germany, imple ...
. At least one German
engineer
Engineers, as practitioners of engineering, are professionals who Invention, invent, design, build, maintain and test machines, complex systems, structures, gadgets and materials. They aim to fulfill functional objectives and requirements while ...
had worked at Bell Labs before the war and came up with a way to break them. Later versions were sufficiently different that the German team was unable to unscramble them. Early versions were known as "A-3" (from
AT&T Corporation
AT&T Corporation, an abbreviation for its former name, the American Telephone and Telegraph Company, was an American telecommunications company that provided voice, video, data, and Internet telecommunications and professional services to busi ...
). An unrelated device called
SIGSALY
SIGSALY (also known as the X System, Project X, Ciphony I, and the Green Hornet) was a secure voice, secure speech system used in World War II for the highest-level Allies of World War II, Allied communications. It pioneered a number of digital co ...
was used for higher-level voice communications.
The noise was provided on large shellac
phonograph
A phonograph, later called a gramophone, and since the 1940s a record player, or more recently a turntable, is a device for the mechanical and analogue reproduction of sound. The sound vibration Waveform, waveforms are recorded as correspond ...
records made in pairs, shipped as needed, and destroyed after use. This worked, but was enormously awkward. Just achieving synchronization of the two records proved difficult. Post-war electronics made such systems much easier to work with by creating pseudo-random noise based on a short input tone. In use, the caller would play a tone into the phone, and both scrambler units would then listen to the signal and synchronize to it. This provided limited security, however, as any listener with a basic knowledge of the electronic circuitry could often produce a machine of similar-enough settings to break into the communications.
Cryptographic
It was the need to synchronize the scramblers that suggested to
James H. Ellis the idea for
non-secret encryption, which ultimately led to the invention of both the
RSA encryption algorithm and
Diffie–Hellman key exchange
Diffie–Hellman (DH) key exchangeSynonyms of Diffie–Hellman key exchange include:
* Diffie–Hellman–Merkle key exchange
* Diffie–Hellman key agreement
* Diffie–Hellman key establishment
* Diffie–Hellman key negotiation
* Exponential ke ...
well before either was reinvented publicly by
Rivest,
Shamir, and
Adleman, or by
Diffie and
Hellman.
The latest scramblers are not scramblers in the truest sense of the word, but rather
digitizers combined with encryption machines. In these systems the original signal is first converted into digital form, and then the digital data is encrypted and sent. Using modern
public-key systems, these "scramblers" are much more
secure than their earlier analog counterparts. Only these types of systems are considered secure enough for sensitive data.
Voice inversion
Voice inversion scrambling is an analog method of obscuring the content of a transmission. It is sometimes used in public service radio, automobile racing, cordless telephones and the Family Radio Service. Without a descrambler, the transmission ...
scrambling can be as simple as inverting the
frequency bands around a static point to various complex methods of changing the inversion point randomly and in real time and using multiple bands. Voice inversion with a fixed frequency offers no security at all and software is available to restore the original voice,
which is why it is no longer used to protect conversations today. However, voice inversion is still found in low-end Chinese walkie talkies.
The "scramblers" used in
cable television
Cable television is a system of delivering television programming to consumers via radio frequency (RF) signals transmitted through coaxial cables, or in more recent systems, light pulses through fibre-optic cables. This contrasts with bro ...
are designed to prevent casual signal theft, not to provide any real security. Early versions of these devices simply "inverted" one important component of the TV signal, re-inverting it at the client end for display. Later devices were only slightly more complex, filtering out that component entirely and then adding it by examining other portions of the signal. In both cases the circuitry could be easily built by any reasonably knowledgeable hobbyist. (see
Television encryption.)
Electronic kits for scrambling and descrambling are available from hobbyist suppliers.
Scanner enthusiasts often use them to listen in to scrambled communications at car races and some public-service transmissions. It is also common in
FRS radios. This is an easy way to learn about scrambling.
The term "scrambling" is sometimes incorrectly used when
jamming is meant.
Descramble
Descramble in
cable television
Cable television is a system of delivering television programming to consumers via radio frequency (RF) signals transmitted through coaxial cables, or in more recent systems, light pulses through fibre-optic cables. This contrasts with bro ...
context is the act of taking a scrambled or
encrypted video signal that has been provided by a cable television company for
premium television
Pay television, also known as subscription television, premium television or, when referring to an individual service, a premium channel, refers to subscription-based television services, usually provided by multichannel television providers, bu ...
services, processed by a scrambler and then supplied over a
coaxial cable
Coaxial cable, or coax (pronounced ), is a type of electrical cable consisting of an inner Electrical conductor, conductor surrounded by a concentric conducting Electromagnetic shielding, shield, with the two separated by a dielectric (Insulat ...
and delivered to the household where a
set-top box
A set-top box (STB), also known as a cable converter box, cable box, receiver, or simply box, and historically television decoder or a converter, is an information appliance device that generally contains a Tuner (radio)#Television, TV tuner inpu ...
reprocesses the signal, thus descrambling it and making it available for viewing on the
television
Television (TV) is a telecommunication medium for transmitting moving images and sound. Additionally, the term can refer to a physical television set rather than the medium of transmission. Television is a mass medium for advertising, ...
set. A descrambler is a device that restores the picture and sound of a scrambled channel. A descrambler must be used with a
cable converter box
A cable converter box or television converter box is an electronic tuning device that transposes/converts channels from a cable television service to an analog RF signal on a single channel, usually VHF or 4, or to a different output for di ...
to be able to unencrypt all of the premium & pay-per-view channels of a Cable Television System.
See also
*
Ciphony
Secure voice (alternatively secure speech or ciphony) is a term in cryptography for the encryption of voice communication over a range of communication types such as radio, telephone or Voice over IP, IP.
History
The implementation of voice en ...
*
Cryptography
Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
*
Cryptochannel In telecommunications, a cryptochannel is a complete system of crypto-communications between two or more holders or parties. It includes: (a) the cryptographic aids prescribed; (b) the holders thereof; (c) the indicators or other means of identific ...
*
One-time pad
The one-time pad (OTP) is an encryption technique that cannot be Cryptanalysis, cracked in cryptography. It requires the use of a single-use pre-shared key that is larger than or equal to the size of the message being sent. In this technique, ...
*
Secure voice
Secure voice (alternatively secure speech or ciphony) is a term in cryptography for the encryption of voice communication over a range of communication types such as radio, telephone or Voice over IP, IP.
History
The implementation of voice en ...
*
Secure telephone
A secure telephone is a telephone that provides Secure voice, voice security in the form of end-to-end encryption for the telephone call, and in some cases also the mutual authentication of the call parties, protecting them against a man-in-the-mi ...
*
Satellite modem
*
SIGSALY
SIGSALY (also known as the X System, Project X, Ciphony I, and the Green Hornet) was a secure voice, secure speech system used in World War II for the highest-level Allies of World War II, Allied communications. It pioneered a number of digital co ...
*
Voice inversion
Voice inversion scrambling is an analog method of obscuring the content of a transmission. It is sometimes used in public service radio, automobile racing, cordless telephones and the Family Radio Service. Without a descrambler, the transmission ...
References
External links and references
Digital Video Broadcasting, DVB framing structure, channel coding and modulation for 11/12 GHz satellite services (EN 300 421)
*
V.34 ITU-T recommendation
*
Intelsat
Intelsat S.A. (formerly Intel-Sat, Intelsat) is a Luxembourgish-American multinational satellite services provider with corporate headquarters in Luxembourg and administrative headquarters in Tysons, Virginia, United States. Originally formed ...
Earth Station Standard IESS-308
*
{{Authority control
Cryptography
Line codes
Applications of randomness
Satellite broadcasting
Telecommunications equipment
Television terminology