Route Cipher

Algoritma Route Cipher

Input:
p; <-- Plaintext
k; <-- Kunci

Process:
For: i = o to k;
if (baris 1 > baris 2)
then {tukar tempat}
baris 2;
C = rout 'p'; <-- {Perputaran}
End If;
End For;

Output:
C; <-- Ciphertext
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s