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

Aircrack Caesar Cipher using Baiji algorithm: Difference between revisions

From EverybodyWiki Bios & Wiki
WikiMasterBot2 (talk | contribs)
m Remove Afc Messages and templates
WikiMasterBot2 (talk | contribs)
m automatic correction by IA
 
Line 7: Line 7:
'''Introduction:'''
'''Introduction:'''


This algorithm breaks the cipher Text
This algorithm breaks the cipher text


Written in English(only English language).  
Written in English (only English language).  


This method was invented by
This method was invented by
Line 15: Line 15:
Researcher Abdulwahab Mahdi Saleh.<ref>{{Cite web|url=https://www.facebook.com/prog.abd|title=Abdulwahab Aljumaili|website=www.facebook.com|language=en|access-date=2019-02-11}}</ref>
Researcher Abdulwahab Mahdi Saleh.<ref>{{Cite web|url=https://www.facebook.com/prog.abd|title=Abdulwahab Aljumaili|website=www.facebook.com|language=en|access-date=2019-02-11}}</ref>


This algorithm Called Baiji relative to his city.  
This algorithm is called Baiji, relative to his city.  


This algorithm reveals the key to Caesar's algorithm.
This algorithm reveals the key to Caesar's algorithm,


Which can be decoded the cipher Text and get the plaintext .
which can decode the cipher text and get the plaintext.


Because the known cryptographic algorithm is known.
Because the known cryptographic algorithm is known,


The key is secret.
the key is secret.


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


                        
inventor method
 
    inventor method


Abdulwahab Mahdi Saleh
Abdulwahab Mahdi Saleh
Line 39: Line 37:
'''Baiji Algorithm:'''
'''Baiji Algorithm:'''


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


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


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


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


4-   Key=x-4
4- Key=x-4


5-   Using the caser algorithm to decryption the cipher text<ref>{{Cite book|url=http://cache3.pdfdrive.com/dl.php?id=18720918&h=10331c4d4f428e4a8649579dea520999&u=cache|title=Cryptography and Network Security Principles and Practices|last=Stallings|first=William|publisher=Prentice Hall|year=November 16, 2005|isbn=10: 0-13-187316-4|location=|pages=592}}</ref>
5- Using the caser algorithm to decrypt the cipher text<ref>{{Cite book|url=http://cache3.pdfdrive.com/dl.php?id=18720918&h=10331c4d4f428e4a8649579dea520999&u=cache|title=Cryptography and Network Security Principles and Practices|last=Stallings|first=William|publisher=Prentice Hall|year=November 16, 2005|isbn=10: 0-13-187316-4|location=|pages=592}}</ref>


Di=(Ci-Key)%26  where i is counter of text.
Di=(Ci-Key)%26  where i is counter of text.
Line 55: Line 53:
_______________________________________________________________________________________________
_______________________________________________________________________________________________


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


'''[[Ciphertext|Cipher text]]: XLILSYWIMWRSAJSVWEPIJSVJSYVQMPPMSRHSPPEVWMXMWASVXLQDVILYVVCFIJSVIXLIWIPPIVVIGIMZIWQSVISJJIVW'''
'''[[Ciphertext|Cipher text]]: XLILSYWIMWRSAJSVWEPIJSVJSYVQMPPMSRHSPPEVWMXMWASVXLQDVILYVVCFIJSVIXLIWIPPIVVIGIMZIWQSVISJJIVW'''
Line 61: Line 59:
'''SOL:'''
'''SOL:'''


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


the sequence of letter:
The sequence of letter:
{| class="wikitable"
{| class="wikitable"
|0
|0
Line 119: Line 117:
|Z
|Z
|}
|}
the sequence of letter "I" is 8 --->X=8
The sequence of letter "I" is 8 --->X=8


Key=X-4
Key=X-4
Line 147: Line 145:
__________________________________________________________________________________________
__________________________________________________________________________________________


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


'''Cipher text'''<ref>{{Citation|title=Ciphertext|date=2019-01-24|url=https://en.wikipedia.org/w/index.php?title=Ciphertext&oldid=879925877|work=Wikipedia|language=en|access-date=2019-02-11}}</ref>''': UVACLYFZLJBYL'''
'''Cipher text'''<ref>{{Citation|title=Ciphertext|date=2019-01-24|url=https://en.wikipedia.org/w/index.php?title=Ciphertext&oldid=879925877|work=Wikipedia|language=en|access-date=2019-02-11}}</ref>''': UVACLYFZLJBYL'''
Line 153: Line 151:
'''SOL:'''
'''SOL:'''


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


the sequence of letter:
The sequence of letter:
{| class="wikitable"
{| class="wikitable"
|0
|0
Line 211: Line 209:
|Z
|Z
|}
|}
the sequence of letter "L" is 11 --->X=11
The sequence of letter "L" is 11 --->X=11


Key=X-4
Key=X-4

Latest revision as of 23:30, 25 March 2025



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.