Security Lab Assignment1
Security Lab Assignment1
Assignment Requirements:-
Input: - Plain Text with any length (binary), Polynomial of LFSR (ex. X4+ X2+1), and the Initial
Vector.
Output: - Key and Cipher text (binary).
Hint: -
Example: -
Inputs:
1. Binary Plain Text Xi = 100111001100
2. Polynomial LFSR: x4+x3+1
3. Initial vector: 1, 0, 0, 0
Steps:
1. The feedback coefficients: C0 = 1, C1 = 0, C2 = 0, C3 = 1
2. FF3 = FF3 FF0
3. The input binary message length = 12 so, shift till clk = 11
Output:
Yi = 100000100111
Grading Criteria:-
1111011
1010011
0101000