In the universe of digital informations dealing, in order to transact the informations in a more secured mode the demand for a cryptanalytic algorithm can non be compensated by others. There immense Numberss of cryptanalytic algorithms which makes the system immune from the onslaughts of interlopers and eavesdroppers. RivestCipher4 and blow fish is one such cryptanalytic algorithm which is really good known for its public presentation, simpleness, strong cardinal coevals. In this paper, we propose a method of uniting block and watercourse cypher for increasing the cardinal strength so that it will be really difficult for the interloper to interrupt the key and interloper will hold no thought about the cardinal formation from the combination of block and watercourse cypher. So it will take to increased key complexness which evidently consequences the interloper nil else than confusion and defeat.

Keywords: Cryptography, Encryption, cardinal strength, cardinal complexness, blowfish, Rc4 algorithm.


Cryptography is a good known and widely used technique that manipulate information in order to crypt their being. More specii¬?cally, cryptanalysis protects information by transforming it into an indecipherable format [ 1 ] . The original text is transformed into a scramble equivalent text called cypher text and this procedure is called as “ Encryption ” . This is achieved via an Encryption Algorithm. Merely those who possess a secret key can decode the cypher text into plaintext. Simply it scrambles a message so it can non be understood.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!

order now

Cryptography trades with protecting information by encoding or transmutation of informations [ 1 ] .There are two types of cryptanalytic strategies available on the footing of cardinal.

Symmetric cardinal Cryptography: This is the cryptanalytic strategy which uses a common key for coding and decoding the message.

Asymmetric or Public Key Cryptography: This type of cryptanalytic scheme utilizations two keys for encoding and decoding called Public key and Private Keys.

We adopted Symmetric cardinal cryptanalytic strategy and therefore merely one key is needed for communicating. So, the chosen cryptanalytic strategy involves,

Plaintext: The original message that has to be communicated to receiver.

Encoding: Enciphering of informations by utilizing a cardinal via a coveted encoding algorithm at sender side.

Transmission: Transportation of cipher message to receiver through a public communicating channel.

Decoding: Deciphering of the cypher text therefore received via the same algorithm ( rearward Encoding ) by utilizing the key.


Fig 1: Symmetrical Key Cryptography

We can besides sort symmetric key cryptanalysis into two types on the footing of their operations as

Stream Ciphers: It is a symmetric key cypher where watercourse of plaintext are mixed with a random cypher spot watercourse ( cardinal watercourse ) , typically by any logical thie instance of watercourse cypher one byte is usuallly encrypted at a peculiar clip.

Block Ciphers: block cypher is besides a symmetric key cypher which operates over a fixed-length groups of spots, . It normally take peculiar spot block of plaintext as input, and produces a corresponding n-bit end product block of cypher text.

We have chosen block cypher for our cryptanalytic operation since it is the chief tool for implementing private cardinal encoding in pattern. [ 1 ]



RC4 is a synchronal watercourse cypher designed to fulfill both security and efficiency for lightweight algorithms, dedicated to hardware. Environments where the available resources are restricted. RC4 watercourse cyphers have failings on the cardinal size. If the cardinal size is short, aggressor can easy obtain the key by utilizing the cardinal recovery algorithms. In this instance, re-keying is necessary. [ 10 ] Generally, re-keying is done by utilizing the internal province in each package to reinitialize the big internal province. The freshly initialized internal province is dependent ; hence more fluctuation and entropy can be achieved for the internal province. The value of internal province must be alone, and must non be used twice or more although the messages to be encrypted are different. Stream cypher is the of import category of encoding and they encrypt each figure of field text one at a clip utilizing a simple clip dependent encoding transmutation in pattern, the figure is individual spot or byteRc4 is most widely used watercourse cypher presents due to its simpleness and high efficiency.rc4 normally has changing cardinal size and cardinal size of watercourse cypher based on a 256 byte internal province and two one byte indexes I and j.rc4 consist of two parts viz. cardinal scheduling algorithm and pseudo random coevals [ 2 ] .

TheA key-schedulingA algorithm consists of following stairss in order to bring forth a key we should get down the substitution in the array “ S ” . “ Cardinal length ” is stated as the figure of bytes in the key and it normally range 1 a‰¤ cardinal length a‰¤ 256, typically between 5 and 16, conformity to aA cardinal lengthA of 40 – 128 spots. Initially, the array “ S ” is initialized to theA recognized substitution.

for ( i=0 ; i & lt ; =255 ; i++ )

S [ I ] = I ;

J = 0 ;

for ( i=0 ; i & lt ; =255 ; i++ )


J = ( S [ I ] + I + cardinal [ I mod cardinal length ] ) mod 256 ;

barter ( S [ I ] , S [ j ] ) ;


The Pseudo random coevals algorithm changes the province and peculiar end products a byte over the cardinal watercourse. In each loop, the PRGA incrementsA I, adds the value of S pointed to byA iA toA J. [ 3 ]

I = 0 ;

J = 0 ;



I = ( one + 1 ) mod 256 ;

J = ( j + S [ i ] ) mod 256 ;

barter ( S [ I ] , S [ j ] ) ;

K = S [ ( S [ I ] + S [ j ] ) mod 256 ] ;


Degree centigrades: Usersgansun2012Desktop320px-RC4.svg.png

Fig2: Rc4 watercourse coevals

Blowfish Algorithm:

Blowfish, a symmetric block cypher and a Feistel web, repeating simple encoding and decoding maps of 16 times each. The strength of the Blowfish algorithm relies on its sub-key coevals and its encoding. Blowfish is a block cypher which uses a variable-length key. It is good fitted for applications in which the key size does non alter frequently. It is significantly faster than most encoding algorithms when implemented on 32-bit microprocessors with big informations caches. [ 2 ]

Blowfish cypher uses 18 each of 32-bit Sun arrays normally known as P-boxes and four Substitution boxes each of 32 spot size and holding 256 entries each. It uses a Feistel cypher which is a general method of transforming a map into an another map by utilizing the construct of substitution. [ 3 ] The working of blowfish cypher can be illustrated as follows,

It splits the 64 spot block into two equal blocks holding 32 spot size each. Lest block is XORed with first sub array P1 and therefore obtained consequence is fed in to a map called F-function. Inside the F-function permutation operations are carried out which in bend converts 32 spot blocks in to an another 32 spot blocks. Therefore resulted 32bit entries are XORed with the Right half and the consequence obtained is swapped as the left half for the following unit of ammunition. So, After the successful completion of each unit of ammunition Right half becomes the new left half or frailty versa and Fiestal construction is followed up to 16 unit of ammunitions. The end point left and right halves are non swapped but XORed with the seventeenth and 18th P-arrays. The Fiestal Structure of blowfish algorithm is shown in the Fig-2

Figure 2: Fiestal construction of Blowfish Cipher

The transmutation operations that really go on inside an F-function are XOR Operation, ADD Operation and few tabular array look up operations. These operations are carried out between four S-Boxes and as a consequence of all uses eventually 32 spot entries are transformed into another 32 spot entry.


In this paper we propose a new system of integrating of the Block and the Stream cypher for bring forthing a fresh key from the existent key provided by the user. The fresh key therefore obtained is difficult to check because it involves add-on of the complexness from the block cypher to the key. In general legion cryptanalytic block cyphers are available such as blow fish, Two fish, AES block which were all known for its security and complexness. For our publication purpose we propose blowfish and RC4 integrating for the coevals of the strong key. The undermentioned block diagram illustrates our modified attack of integrating of sea squab and Rivestcipher4 algorithm.

Fig 3: Block diagram of Encryption stage

Fig4: Block diagram of encoding stage

The significance of the proposed systems are as follows:

The Rc4 is enhanced both in footings of keystrength and its complexity.The freshly formed key which is generated will non be known even to sender and receiver

In general, Key strength which is one of the outstanding characteristic of block cypher which is losing in all watercourse cyphers. This scenario will come to an terminal by the use of sea squab which is a block cypher and it will increase the cardinal strength that is of all time provided by other watercourse cyphers.

Since blow fish executing is independent of the original RC4 algorithm, there is no opportunity for impacting the informations security of RC4 algorithm.

We propose this blowfish inorder to increase the cardinal strength so that it will be suited in the mere hereafter to keep any algorithm like RC4 which lags in their cardinal strength.

6. Simulation AND RESULTS

For the intent of imitating the sea squab and RC4 algorithm we used Java which is known for its platform independence and better GUI characteristics. The undermentioned figures illustrates about the encoding and decoding stage of Rc4 algorithms.

Fig 5: Rc4 Encoding

Fig 6: RC4 Decryption.


The integrating of the sea squab and Rc4 can be easy modified to accept any encoding algorithm which is framed in future. Merely by adding or taking another faculty in the chief map and besides by increasing or diminishing the hash bound, any figure of loop can be included or reduced in the peculiar algorithm or other in peculiar they are used to increase the cardinal length particularly in the instance of RC4 [ 9 ] . Though the system is designed for watercourse cypher but the faculties can be used in block cypher besides in which cardinal length is already in high complexness. By adding a new hallmark between the transmitter and receiving system sockets, the system can besides be improved to work as secure WAP and WLAN. Furthermore, we presently concentrate on our following work which is a Iterative method inorder to increase the cardinal strength of RC4.

. Decision

Key strength of RC4 has the chief concern of security failing, so that they can be easy breached, the tool that we developed is used to increase the complexness of the cardinal.The interloper will hold no thought about the being of the peculiar block cypher in our instance we have blow fish which is the strongest block cypher and before his realisation of being of block cypher for cardinal coevals peculiar informations will be transferred to the receiving system. Thus the integrating of block and watercourse cypher that is being implemented will increase the cardinal complexness without impacting the public presentation up to a maximal degree that of all time offered by the bing watercourse cyphers. Thus a rc4 will be increased in both security and public presentation.


I'm Niki!

Would you like to get a custom essay? How about receiving a customized one?

Check it out