📱 A5/1 Stream Cipher (GSM)
Overview
A5/1 is a stream cipher used to encrypt GSM cellular communications. It was developed in 1987 and uses three linear feedback shift registers (LFSRs) of different lengths combined with irregular clocking for enhanced security.
📋 A5/1 Specifications
- Key Length: 64 bits (54 effective)
- Frame Size: 114 bits
- LFSRs: 19-bit, 22-bit, 23-bit
- Clocking: Majority rule based
📐 A5/1 Mathematical Structure
LFSR Specifications
R1 (19-bit LFSR)
Feedback: x19 + x18 + x17 + x14 + 1
Taps: positions 18, 17, 16, 13
Output: bit 18
R2 (22-bit LFSR)
Feedback: x22 + x21 + 1
Taps: positions 21, 20
Output: bit 21
R3 (23-bit LFSR)
Feedback: x23 + x22 + x21 + x8 + 1
Taps: positions 22, 21, 20, 7
Output: bit 22
Clocking Mechanism
Mathematical Properties
- State Space: 219+22+23 = 264 ≈ 1.8 × 1019 states
- Period: LCM of individual LFSR periods
- Linear Complexity: Complex due to irregular clocking
- Security: Vulnerable to time-memory tradeoffs