Pete Pukit 1102
Pete Pukit 1102
Encoding matrix A
Finding the determinant of Encoding matrix : Cofactor expansion of column 1
-R5 + R1
-R5 + R2
-R5 + R3
-R5 + R4
det(A) = +1 + 0 + 0 + 0 + 0
= +1 • { -1 }
= +1 • { -1 • { +1 } }
= 1(1) - 2(1) = -1
det(A) = (+1) × (-1) × (+1) × (-1) = 1
Encoding Message : Message > Number > Encoded Message
Table :
Assigned No. Assigned Letter Assigned No. Assigned Letter Assigned No. Assigned Letter
0 *Space* 13 M 26 Z
1 A 14 N 27 .
2 B 15 O 28 ,
3 C 16 P 29 !
4 D 17 Q 30 ?
5 E 18 R 31 :
6 F 19 S 32 ;
7 G 20 T 33 "
8 H 21 U 34 (
9 I 22 V 35 )
10 J 23 W 36 -
11 K 24 X 37 /
12 L 25 Y 38 '
Message(Letter) : [t_at_] [the_e] [nd_of] [_the_] [tunne] [l,_un] [less_]
Message(Number) :
[20 0 1 20 0], [20 8 5 0 5], [14 4 0 15 6], [0 20 8 5 0], [20 21 14 14 5], [12 28 0 21 14], [12 5 19 19 0]
Message • Encoding matrix A = Encoded message
•
Finding the inverse of the Encoding matrix : Doubly Augmented Matrix
Swap R1 with R5
Swap R2 with R3
-R5 + R4
Decoding matrix: 1/A
Decoding the Encoded Message : Encoded Message > Number > Message
Encoded Number • Decoding matrix = Message
•
Message(Number) :
[20 0 1 20 0], [20 8 5 0 5], [14 4 0 15 6], [0 20 8 5 0], [20 21 14 14 5], [12 28 0 21 14], [12 5 19 19 0]