Professional Documents
Culture Documents
Wireless Comm Systems1
Wireless Comm Systems1
Boundaries
Source
Coding
Source
Decoding
Encryption
Decryption
Channel
Coding
Channel
Decoding
Cryptography
Cryptosystem or cipher system is a method of
hiding the content of messages.
Cryptography is the art of creating and using
cryptosystems.
Cryptanalysis is the art of breaking cryptosystems.
Cryptology is the study of both cryptography and
cryptanalysis.
Plain
text
Plain
text
Alice
Bob
Eve
assure
and
10
Probability Distribution
The probability distribution of X is the set of pairs
x1 , p x1 , x2 , p x2 ,,
n
p1 p 2 p n p i 1
i 1
11
12
i 1
i 1
H b X pi I p i p i log b pi
B
2
E
10
Unit of information
Bit (binary digit)
Nat (natural logarithm)
Hartley
Unit of Entropy
Bits/symbol
Nats/symbol
Hartleys/symbol
13
0.1
0.2
0.3
0.4
k1
k2
14
15
Plaintext, Key
Ciphertext A, k1 A, k2 B, k1 B, k2 C, k1 C, k2 D, k1 D, k2
A
0.333 0.667 0
0.25 0
0.333 0
0.75 0
0.667 0
0.429 0
plaintext
Plaintext:
DCDBCDADCB
Ciphertext:
DBDCBDADBC
0
has
0.571
been
16
2 =
Then
P ( s1 | s )
1
1.57 10 4
0.086
1 2 1.57 10 4 1.66 10 3
P( s 2 | s)
2
1.66 10 3
0.914
1 2 1.57 10 4 1.66 10 3
17
H b ( X ) pi log b pi
i 1
18
H (K )
lg H ( X )
lg k
lg H ( X )
19
H ( X ) lg
Perfect Secrecy
20
21
Mixer
CipherText
22
24
Initial
State
Key
Initial
State
State
Next State
Select
Function
Function
PlainText in
chunks of a
few bits
Key
Keystream
Mixer
CipherText
Stream Cipher
State
Next State
Select
Function
Function
PlainText in
chunks of a
few bits
Keystream
Mixer
CipherText
Wireless technologies use stream ciphers because they approximate the one-time pad and
because they only require an encryption card not an encryption and a decryption card.
25
Sn2
S1
S0
27
Nonlinear Methods
Combine the output of two or more registers nonlinearly.
Many nonlinear combinations of LFSRs have been
proposed but all have some weaknesses making
them insecure.
The idea of a nonlinear FSR has more merit,
however, and the OFB mode of the DES block
cipher to be seen in block 4 is essentially a
nonlinear FSR.
Bluetooth deploys a stream cipher built using a
nonlinear combination of LFSRs.
28