Professional Documents
Culture Documents
Dss 05
Dss 05
Irvanizam Zamanhuri, M.Sc l Computer Science Study Program l Syiah Kuala University l http://www.informatika.unsyiah.ac.id/irvanizam l Email: irvanizam.zamanhuri@informatika.unsyiah.ac.id
l
Contoh
Kunci : 5,15 Pesan :PAGI Chiperteks? Plainteks? Kunci:7,8 Pesan : MAKIN
Contoh
Pesan : SIANG Kunci :
2 3 1 1
11 8 3 7
Example 3
Consider the message 'ACT', and the key below (or GYBNQKURP in letters): K = Since 'A' is 0, 'C' is 2 and 'T' is 19, the message is the vector: P= Thus the enciphered vector is given by: C=KP
Now, suppose that our message is instead 'CAT', or: P= This time, the enciphered vector is given by: C = K P
Dekripsi
P = K-1 C K-1 = Taking the previous example ciphertext of 'POH', we get:
Transposisi
Merubah posisi karakter dalam plainteks Plain teks dan chiperteks berasal dari alphabet yang sama. Teknik transposisi standar 1.Bagi plain teks ke dalam blok blok 2.Lakukan permutasi karakter
Transposisi zigzag
Transformasi segitiga