You can edit almost every page by Creating an account and confirming your email.

Aircrack Caesar Cipher using Baiji algorithm

From EverybodyWiki Bios & Wiki



Aircrack Caesar Cipher using Baiji algorithm

Introduction:

This algorithm breaks the cipher text

Written in English (only English language).

This method was invented by

Researcher Abdulwahab Mahdi Saleh.[1]

This algorithm is called Baiji, relative to his city.

This algorithm reveals the key to Caesar's algorithm,

which can decode the cipher text and get the plaintext.

Because the known cryptographic algorithm is known,

the key is secret.

This method is not allowed to be named in another name.

inventor method

Abdulwahab Mahdi Saleh

_____________________________________________________

_____________________________________________________

Baiji Algorithm:

1- Choose the letter that has the most frequency in the cipher text.

2- Find the sequence of letters (letter from step 1).

Start counting letters sequence from 0 -> 'a' to 25 -> 'z'.

3- The number of letter sequence from step 2 called x.

4- Key=x-4

5- Using the caser algorithm to decrypt the cipher text[2]

Di=(Ci-Key)%26  where i is counter of text.

_______________________________________________________________________________________________

Example 1: if you have the following cipher text how can you get the plain text using Baiji algorithm (attack)?

Cipher text: XLILSYWIMWRSAJSVWEPIJSVJSYVQMPPMSRHSPPEVWMXMWASVXLQDVILYVVCFIJSVIXLIWIPPIVVIGIMZIWQSVISJJIVW

SOL:

The letter that has the most frequency in cipher text = "I" =14

The sequence of letter:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

The sequence of letter "I" is 8 --->X=8

Key=X-4

Key=8-4-->Key=4

Di=(Ci-Key)%26 

D(X)=(23-4) %26 = 19--> T

D(L)=(11-4)%26=7-->H

D(I)=(8-4)%26=4--> E

.

.

.

D(W)=(22-4)%26=18--> S

Plain Text:[3]

The house is now for sale for four million dollars it is worth more hurry before the seller receives more offers

__________________________________________________________________________________________

Example 2: if you have the following cipher text how can you get the plain text using Baiji algorithm (attack)?

Cipher text[4]: UVACLYFZLJBYL

SOL:

The letter that has the most frequency in cipher text = "L" =3

The sequence of letter:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

The sequence of letter "L" is 11 --->X=11

Key=X-4

Key=11-4--> Key=7

Di=(Ci-Key)%26 [5]

D(U)=(20-7)%26=13--> N

D(V)=(21-7)%26=14-->O

D(A)=(0-7)%26=19-->T

D(C)=(2-7)%26=21-->V

D(L)=(11-7)%26=4-->E

D(Y)=(24-7)%26=17-->R

D(F)=(5-7)%26=24-->Y

D(Z)=(25-7)%26=18-->S

D(L)=(11-7)%26=4-->E

D(J)=(9-7)%26=2-->C

D(B)=(1-7)%26=20-->U

D(Y)=(24-7)%26=17-->R

D(L)=(11-7)%26=4-->E

PlainText[6]: NOT VERY SECURE

References

  1. "Abdulwahab Aljumaili". www.facebook.com. Retrieved 2019-02-11.
  2. Stallings, William (November 16, 2005). Cryptography and Network Security Principles and Practices. Prentice Hall. p. 592. ISBN 10: 0-13-187316-4 Check |isbn= value: invalid character (help). Search this book on
  3. "Plaintext", Wikipedia, 2018-09-20, retrieved 2019-02-11
  4. "Ciphertext", Wikipedia, 2019-01-24, retrieved 2019-02-11
  5. "Caesar cipher", Wikipedia, 2019-01-17, retrieved 2019-02-11
  6. "Plaintext", Wikipedia, 2018-09-20, retrieved 2019-02-11


This article "Aircrack Caesar Cipher using Baiji algorithm" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Aircrack Caesar Cipher using Baiji algorithm. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.