SlideShare a Scribd company logo
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
DOI : 10.5121/ijcnc.2014.6208 89
DIFFERENT DATE BLOCK SIZE USING TO EVALUATE
THE PERFORMANCE BETWEEN DIFFERENT
SYMMETRIC KEY ALGORITHMS
1
Ali M Alshahrani 2
Prof. Stuart Walker
Department of Electronic Systems Engineering, University of Essex,
Wivenhoe Park, Colchester, Essex, UK, C04 3SQ
ABSTRACT
The different computer networks whether wired or wireless are becoming more popular with its high
security aspect. Different security algorithms and technique are using to avoid any aforementioned attacks.
One of these technique is a cryptography technique that makes the data as unreadable during the transfer
hence; there is no chance to reclaim the information. Presently, most of the users are using various media
types and internet to transfer the data but, it has the chance to retrieve the data by using these media types.
The perfect solution for this problem is to provide security on time-to-time basis; this stage is always
significant to the security related community discussions. This paper explains the comparison between the
run time of three different encryption algorithms which are DES, AES and Blowfish The compression
includes using different modes, data block size and different operation modes. As a result, Blowfish
algorithm followed by AES take less time for running compared to DES.
KEYWORDS
AES, DES, Blowfish, Encryption and Decryption.
1. INTRODUCTION:
Real time applications (RTA) are a set of technologies that are used to allow multimedia, such as
voice calls, videoconferences to transfer the data from sender to receiver through the Internet
Protocol (IP). There are many reasons that help to appear such services like the low of cost.
Consequently, many companies enroll to this market and develop several of system that are
provide a good quality of service. Recently, the computer and internet network has developing and
that allow to multimedia to be the best choice for most of people to contact.
Sensitive information, financial transactions and political meetings are an example of data
that must have a high level of security. The cryptography system technique has long been
used to ensure this sensitive information can be transmitted in a way that protects them when
they are transported through an unsecured network (e.g. the internet).
To protect the stored data in computing systems, using different security techniques is highly
required such as encryption and decryption technique. By using this security everyone can easily
protect their stored data in computers and during transmission process. For example, data cannot
be read or observed by any other persons with permission. By implementing passwords and data
encryption techniques, many computers will be secured. Translation of data into a form is called as
Data encryption. This is incoherent without a decode mechanism. A password is a secret word or
phrase that gives a user access to a particular program or system [1][2].
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
90
Security techniques are also named as information security. It is able to implement for computers
and networks. Cryptography system is very important to transmit different types of data through
unsecure network such as Internet. Encryption and decryptions are the process that done to move
the data from the sender to receiver but by using a secret key. The procedure of changing the
plain text into cipher text is called as an encryption algorithm. This process is done during the
transfer the data through vulnerable channels and secret key is even used in encryption for the
process of conversion. On the other hand, the process of changing the cipher text into a plain text
is called as decryption algorithm. The procedure accomplished using the secret key. Plain text is
the original text before encryption. After entered a secret key to the plain text, it becomes a cipher
text. The basic aspect of the symmetric algorithm is a secret key, which is used in both decryption
and encryption techniques. But, it needs to maintain secret to avoid the middle attacks to retrieve
the information. The cryptography technique is classified into two types: Asymmetric Algorithm
and Symmetric Algorithm Converting the plaint text into the cipher text by using secret key is
called encryption [3][4][5].
This paper explains the description of symmetric cryptography algorithm survey, performance
analysis and symmetric encryption algorithm between three of the most common algorithms
which are DES, AES and Blowfish. They are implemented in Java to compare the performance
by using different data block size and the standard key length.
2. CRYPTOGRAPHY:
Encryption and decryption systems are defined as a set of algorithms that convert plain text data by
using an agreement key for the cipher text in the sender side (encryption). The decryption process
is done on the receiver side by extracting the key from the data to obtain the plain text again. The
encryption method is considered strong due to several factors: the initialization vectors, the length
and secrecy of the key, the algorithm, and how all of these function simultaneously. Strength, in
terms of encryption, generally signifies the level of difficulty by which it is possible to decipher the
key or algorithm. Thus, decoding a key must involve processing a large number of probable values
in order to attain a value which can be employed so as to decrypt or decode a particular message.
In other words, non-repudiation services, authenticity, confidentiality, and integrity can be
provided by means of a cryptosystem. The basic types of cryptographic systems are symmetric
keys, also called secret keys, or asymmetric keys, also called public keys (see next section) [3][5].
Figure1: Encryption and decryption process.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
91
2.1 The basic types of cryptographic system:
The basic types of cryptographic systems are symmetric keys, also called secret keys, or
asymmetric keys, also called public keys. The idea behind symmetric key systems is for both the
sender and the recipient to have the same key. The sender uses this key in order to encode or
encrypt the information or data, and once more, the recipient utilizes it in order to decrypt the
information or the data[3][6][7]. Figure below shows the Symmetric key:
Figure2: Symmetric technique.
On the other hand, asymmetric cryptographic systems are believed to be far more adaptable and
compliant. Normally, each user holds a public key as well as a private key. Therefore, one key is
used in order to encrypt or encode messages while the other key is utilized to decrypt or decode
the messages [3][6][7]. The figure below shows the asymmetric key procedure.
Figure 3: Asymmetric key
3. BLOCK CIPHER VS. STREAM CIPHER
Block and stream ciphers are considered as symmetric ciphers. In fact, stream ciphers are based
on producing an "unlimited" cryptographic keystream and applying it to encrypt a bit or byte
simultaneously. Conversely, block ciphers operate concurrently on larger pieces of data that is,
blocks, frequently joining blocks in order to provide extra security.
The stream cipher idea is simply to divide the text into relatively unit by unit to allow every block
encoding to be based on numerous preceding blocks. The concept of a block cipher is to divide
the text into fairly bulky blocks, for instance, 128 bits, then to encode every block individually.
Normally, each block encoding is based on at the maximum a block of the former ones. The key
remains unchanged when applied with every block [8][9].
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
92
4. MODE OF OPERATION:
Modes of operations are the algorithms used in a cryptography system with a block cipher
technique to provide security requirements, such as confidentiality and authenticity. The modes
identify the way that data will be encrypted. The standard modes are the Electronic Codebook
(ECB) mode, the Cipher Block Chaining (CBC) mode, the Cipher Feedback (CFB) mode, and the
Output Feedback (OFB) mode [10][11][12].
A. Electronic codebook (ECB):
ECB is a raw cipher that was published in 1981; it provides confidentiality and does not use IV.
The main concept of this mode is to split the message into fixed-length blocks and encrypt each
block independently. In this operation mode, the data are divided into 64-bit blocks, which are
encrypted one at a time. For example, if data are transmitted along the network and any
transmission occurs, it will affect only the blocks that contain the error. The blocks should be
rearranged, and then the data sent. The greatest disadvantages of this encryption technique are,
first, problems being encountered when protecting the affected data from the attack, and second,
this mode being less effective when compared to the remaining modes. However, it is fast and easy
to implement compared with the other modes [10][11][12].
Figure 4: ECB mode encryption and decryption process.
B. Cipher-block chaining (CBC)
The main concept of this mode is that IV is X-ORed with plaintext before encryption and for later
blocks, uses the previous ciphertext as the IV. In order to know the plain text for a particular block,
it is also necessary to know the key and cipher text for the previous block. As the first block is
encrypted but has no previous cipher text, a 64-bit block is used to encrypt the block; this is called
an initialization vector. If any problem occurs during the transmission, the error is forwarded to all
the blocks because each is dependent on the other; thus it will affect the subsequent block. So the
data will not be affected. This operation mode is more secure than the ECB operation mode
[10][11][12].
Figure 5: CBC mode encryption and decryption process.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
93
C. Cipher feedback (CFB):
In this operation mode, the input data are considered as the blocks of input, but not is not necessary
to store the 64 bits of data. First, the 64 bits are stored in the one block called the shift register.
Then, this shift register is considered as an input in plaintext. This block is already set to some
arbitrary values. This cipher text is then passed through the extra components, called M-boxes. The
M-boxes select only certain bits for encryption. This output is in plaintext. This cipher text is again
fed into the shift register, and it acts as an input for the next block. This process is the same as the
CBC, but additional functionalities are added to this system. If any error occurs, it will affect the
subsequent blocks only. Compared to CBC, its performance is slower because of some added
complex functionalities [10][11][12].
Figure 6: CFB mode encryption and decryption process.
D. Output feedback (OFB)
This operation mode is the same as the CBC but there are slight changes in the system
performance. This takes the input into the shift register and sets it to an arbitrary initial value, and
this is then passed into the algorithms. From there, it is passed into the M-boxes. This is the final
output cipher text. This value is X-ORed with the real plain text, and this is the final output. In
CBC and CFB, if any error occurs, it will affect all the subsequent blocks but when in OFB and
once the shift register has been initialized, it will continue to affect all the blocks of the shift
registers. Because each block output does not depend on the previous block, it will not affect the
remaining blocks. However, it is less secure than the CBC and CFB because only the cipher text
and DES cipher text values are needed to find the original plain text; the key is not required
[10][11][12].
Figure 7: OFB mode encryption and decryption process.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
94
5. ENCRYPTION ALGORITHMS:
A. Data Encryption Standard (DES)
DES is one of the block cipher techniques developed by the National Bureau of Standards in the
USA in 1976. It is used for security purposes to protect sensitive, unclassified, and commercial
data by using the 56-bit key and 64-bit block size [13][14].
B. Advanced Encryption Standard (AES) :
AES technology (Rijndael) is a block cipher symmetric algorithm published in 1997 by NIST for
use instead of DES. Generally, the AES standard allows a block size of 128-bits and selects one
key out of three keys, such as 192, 265 and 128-bit keys. AES is used to provide security for data
by encrypting the original data to the cipher data [15][16].
C. Blowfish:
This technique has a 64-bit block size and the length ranges from 32-bits to 448-bits. Blowfish is a
16-bit round Feistel cipher and utilizes the large key dependent S-boxes, which are rigid, and each
line allows 32-bits. These S-boxes allow input of up to 8-bits and give an output of up to 32-bits.
Given that the key length of Blowfish can be extended from 38-bits to 448-bits, this provides more
security for data. The 32-bit key input is separated into four 8-bit quarters and uses one-by-one
quarter as inputs[17][18][19].
6. EXPERIMENTAL METHODOLOGY, RESULT AND ANALYSIS:
The Java environment was used to evaluate the run time performance of three different types of
encryption algorithms (DES, AES and blowfish) and four different types of operations modes. The
aim of the experiment is to calculate each algorithm’s run time speed efficiency to encrypt and
decrypt many blocks of different sizes of text in different modes of operation. The key size of
DES, AES and blowfish are 56, 128 and 128 respectively. While the block sizes are 64 for DES
and 128 for AES and blowfish. The below figure shows the GUI of the Java program.
Figure 8: GUI of the Java program.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
95
RESULT AND ANALYSIS:
The experiment has been done to compare between DES, AES and Blowfish which are consider as
symmetric key cryptography algorithms. Different sizes of data blocks and standards key size used
to evaluate the algorithm's run time speed. 100, 200, 300, 400, 500 and 1000 kb are the data block
size that using in the experiment and the user can choice one of these size or can choice any block
size. The DES key size is 64 and AES and Blowfish are 128 kb.
Figure 9: run time performance speed with ECB mode
0
5
10
15
20
100 200 300 400 500 1000
Time(sec)
Data Block Size (Kb)
DES AES Blowfish
Figure 10: run time performance speed with CBC mode.
CBC requires more processing time than ECB because of its key-chaining feature. However,
compared to ECB, CBC is much better in terms of security.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
96
0
20
40
60
80
100
100 200 300 400 500 1000
Time(Sec)
Data Block Size (Kb)
DES AES Blowfish
Figure 11: run time performance speed with CFP mode.
0
20
40
60
80
100
120
100 200 300 400 500 1000
Time(Sec)
Data Block Size (Kb)
DES AES Blowfish
Figure 12: run time performance speed with OFB mode.
The OFB mode has a different procedure for the security processes because it uses the XOR
operation, and its cipher output is a key stream so it needs more time compared to previous modes.
Finally, as expected, CFB requires less processing time than does OFP.
CONCLUSION:
Performance of the symmetric encryption algorithms DES, AES and Blowfish has been evaluated
for the different modes (ECB, CBC, CFB, and OFB) of encryption and decryption. Key size for
DES algorithm is fixed as 56 bits, AES and Blowfish algorithms have the key size of 128 bits.
Execution time is evaluated by varying different data sizes of 100,200,300,400,500 and 1000 Kb.
The result shows that Blowfish run time is the fastest algorithm compared to AES and DES.
FUTURE WORK:
In future, the work will extend this project to allow the encryption and decryption of all different
types of data, such as image, sound, and video. Then, a new algorithm will be developed that will
fulfil the QoS requirements.
ACKNOWLEDGEMENTS:
I would like to express my very great appreciation to Prof. Walker for his advice and completely
supporting during this paper.
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014
97
REFERENCES
[1] M. Hil. and G. Zhang, “A Web Services Based Frame work for Voice over IP”, Proceedings of the
30th Euromicro Conference, vol. 10, pp. 258 –264, 2004.
[2] Obaida. Al-Hazaimeh, " Increase the Security Level for Real-Time Application Using New Key
Management Solution", International Journal of Computer Science Issues(IJCSI), Vol. 9, Issue 3,
2012.
[3] D. Stinson," Cryptography Theory and Practice", CRC Press Inc., NY, USA, 1995.
[4] E. Cole, R. Krutz and J. W. Conley," Network Security Bible", Wiley Publishing Inc, 2005.
[5] Katz, Jonathan and Yehuda Lindell (2007).’ Introduction to Modern Cryptography’.
[6] P.C. van Oorschot, A.J. Menezes, and S.A. Vanstone, “Handbook of Applied Cryptography,”CRC
Press, Inc., 1997.
[7] Network Associates, Inc., ‘’ An Introduction to Cryptography.’’, June 2001.
[8] B. Moeller ,‘’Security of CBC Ciphersuites in SSL/TLS: Problems and Countermeasures’’, (May 20,
2004),
[9] William F. Ehrsam, Carl H. W. Meyer, John L. Smith, Walter L. Tuchman, "Message verification and
transmission error detection by block chaining", US Patent 4074066, 1976.
[10] Dworkin M. ‘’ Recommendation for Block Cipher Modes of Operation’, NIST Special Publication
800-38A 2001 Edition.
[11] Biham, Eli and Shamir, Adi, ‘’Differential Cryptanalysis of the Data Encryption Standard’’, Springer
Verlag, 1993. ISBN 0-387-97930-1, ISBN 3-540-97930-1.
[12] Hristof Paar, Jan Pelzl, "Stream Ciphers", Chapter 2 of "Understanding Cryptography, A Textbook
for Students and Practitioners", 2009.
[13] Knudsen, Lars R., The Block Cipher Companion. Springer. ISBN 9783642173417, (2011).
[14] Daemen J, Rijmen V, "The Design of Rijndael: AES – The Advanced Encryption Standard."
Springer, 2002. ISBN 3-540-42580-2.
[15] H Wang ; H Zheng ; B Hu ; H Tang .’’ Improved Lightweight Encryption Algorithm Based on
Optimized S-Box’, Computational and Information Sciences (ICCIS), 2013 Fifth International
Conference.
[16] T Sharma. ; R. Thilagavathy. ‘’ Performance analysis of advanced encryption standard for low power
and area applications’’, Information & Communication Technologies (ICT), 2013 IEEE Conference,
2013 , Page(s): 967 – 972.
[17] B. Schneier, "The blowfish encryption algorithm-one year later," Dr. Dobb 's Journal, 1995.
[18] B Schneier (1993). "Description of a New Variable-Length Key, 64-Bit Block Cipher (Blowfish).
[19] A. Alabaichi ; F. Ahmad ; R. Mahmod, ‘’ Security analysis of blowfish algorithm’’ Informatics and
Applications (ICIA),2013 Second International Conference.
Authors:
Ali Alshahrani was born in Saudi Arabia in 1982. He received his M.Sc. from University of Essex in 2011.
He is currently PhD student at Essex University, UK, Colchester. His research interests include Network
Security, Image Processing, Mobile Payment and e-learning.
Prof. Stuart D.Walker was born in Dover, U.K., in 1952.He received the B.Sc. (Hons) degree in physics
from Manchester University, Manchester, U.K., in 1973, and the M.Sc. degree in telecommunications
systems and the Ph.D. degree in electronics from Essex University, Essex, U.K., in 1975 and 1981,
respectively. After a period of postdoctoral work at Essex University, he joined the then British Telecom
(BTPlc) Research Laboratories, Martlesham Heath, Ipswich, U.K., in 1982. Initially, he was concerned
with regenerator design issues in submarine optical transmission systems. While at BT Plc, he was jointly
responsible (with Prof. P. Cochrane) for pioneering the unrepeatered-transmission-system concept. In 1987,
he was promoted to head the transatlantic link-repeater group, where he supervised the design and
fabrication of high-reliability integrated circuits. In 1988, he became a Senior Lecturer at Essex University.
There, his research interests included fiber-polarization studies and novel optoelectronic-device
configurations. He then developed an interest in access-network design and construction, where he formed
a specialist research group. In 2003, he was promoted to Reader and to Full Professor in 2004. He has
published over 150 journal and conference papers and has 6 patents granted.

More Related Content

PDF
Vtu network security(10 ec832) unit 2 notes..
Jayanth Dwijesh H P
 
PDF
A New Method for Encrypting Digital Data Using Symmetric Key in Information E...
Editor IJCATR
 
PPT
File transfer with multiple security mechanism
Shubham Patil
 
PDF
Public key cryptography
Lilies DLiestyowati
 
PDF
Cryptography and Network Lecture Notes
FellowBuddy.com
 
PDF
Overview on Symmetric Key Encryption Algorithms
IJERA Editor
 
PDF
Network security 10EC832 vtu notes
Jayanth Dwijesh H P
 
PDF
A SURVEY ON RECENT APPROACHES COMBINING CRYPTOGRAPHY AND STEGANOGRAPHY
csandit
 
Vtu network security(10 ec832) unit 2 notes..
Jayanth Dwijesh H P
 
A New Method for Encrypting Digital Data Using Symmetric Key in Information E...
Editor IJCATR
 
File transfer with multiple security mechanism
Shubham Patil
 
Public key cryptography
Lilies DLiestyowati
 
Cryptography and Network Lecture Notes
FellowBuddy.com
 
Overview on Symmetric Key Encryption Algorithms
IJERA Editor
 
Network security 10EC832 vtu notes
Jayanth Dwijesh H P
 
A SURVEY ON RECENT APPROACHES COMBINING CRYPTOGRAPHY AND STEGANOGRAPHY
csandit
 

What's hot (19)

PDF
Vtu network security(10 ec832) unit 3 notes.
Jayanth Dwijesh H P
 
PDF
Analysis of Cryptographic Algorithms for Network Security
Editor IJCATR
 
DOC
File transfer using cryptography techniques
miteshkumar82
 
PDF
Vtu network security(10 ec832) unit 1 notes
Jayanth Dwijesh H P
 
PDF
Vtu network security(10 ec832) unit 5 notes.
Jayanth Dwijesh H P
 
PDF
researchpaperfinal1
Sumit Bajaj
 
PDF
A Novel Structure with Dynamic Operation Mode for Symmetric-Key Block Ciphers
IJNSA Journal
 
PDF
Comparative Analysis of Cryptographic Algorithms and Advanced Cryptographic A...
editor1knowledgecuddle
 
PDF
Mini Project on Data Encryption & Decryption in JAVA
chovatiyabhautik
 
PDF
A new hybrid text encryption approach over mobile ad hoc network
IJECEIAES
 
PDF
Network and cyber security module(15ec835, 17ec835)
Jayanth Dwijesh H P
 
PDF
Performance Comparison of File Security System using TEA and Blowfish Algorithms
ijtsrd
 
DOCX
Seminar report on symmetric key
Rajat Tripathi
 
PDF
5 ijaems jan-2016-16-survey on encryption techniques in delay and disruption ...
INFOGAIN PUBLICATION
 
PDF
REAL-TIME MODE HOPPING OF BLOCK CIPHER ALGORITHMS FOR MOBILE STREAMING
ijwmn
 
PDF
Comparative study of private and public key cryptography algorithms a survey
eSAT Publishing House
 
PDF
COLLOBORATIVE APPROACH for SECURING DATA RETRIEVAL SCHEME BASED On TRIPPLE DE...
AM Publications
 
PDF
Ijcnc050208
IJCNCJournal
 
PDF
Improved Image Encryption for Real-Time Application over Wireless Communicati...
ijeei-iaes
 
Vtu network security(10 ec832) unit 3 notes.
Jayanth Dwijesh H P
 
Analysis of Cryptographic Algorithms for Network Security
Editor IJCATR
 
File transfer using cryptography techniques
miteshkumar82
 
Vtu network security(10 ec832) unit 1 notes
Jayanth Dwijesh H P
 
Vtu network security(10 ec832) unit 5 notes.
Jayanth Dwijesh H P
 
researchpaperfinal1
Sumit Bajaj
 
A Novel Structure with Dynamic Operation Mode for Symmetric-Key Block Ciphers
IJNSA Journal
 
Comparative Analysis of Cryptographic Algorithms and Advanced Cryptographic A...
editor1knowledgecuddle
 
Mini Project on Data Encryption & Decryption in JAVA
chovatiyabhautik
 
A new hybrid text encryption approach over mobile ad hoc network
IJECEIAES
 
Network and cyber security module(15ec835, 17ec835)
Jayanth Dwijesh H P
 
Performance Comparison of File Security System using TEA and Blowfish Algorithms
ijtsrd
 
Seminar report on symmetric key
Rajat Tripathi
 
5 ijaems jan-2016-16-survey on encryption techniques in delay and disruption ...
INFOGAIN PUBLICATION
 
REAL-TIME MODE HOPPING OF BLOCK CIPHER ALGORITHMS FOR MOBILE STREAMING
ijwmn
 
Comparative study of private and public key cryptography algorithms a survey
eSAT Publishing House
 
COLLOBORATIVE APPROACH for SECURING DATA RETRIEVAL SCHEME BASED On TRIPPLE DE...
AM Publications
 
Ijcnc050208
IJCNCJournal
 
Improved Image Encryption for Real-Time Application over Wireless Communicati...
ijeei-iaes
 
Ad

Viewers also liked (18)

PDF
Ijcnc050206
IJCNCJournal
 
PDF
Ijcnc050201
IJCNCJournal
 
PDF
On the development of methodology for planning and cost modeling of a wide ar...
IJCNCJournal
 
PDF
A fuzzy logic controllerfora two link functional manipulator
IJCNCJournal
 
PDF
A New Programming Model to Simulate Wireless Sensor Networks : Finding The Be...
IJCNCJournal
 
PDF
Dcf learn and performance analysis of 802.11 b wireless network
IJCNCJournal
 
PDF
LTE QOS DYNAMIC RESOURCE BLOCK ALLOCATION WITH POWER SOURCE LIMITATION AND QU...
IJCNCJournal
 
PDF
PAPR REDUCTION OF OFDM SIGNAL BY USING COMBINED HADAMARD AND MODIFIED MEU-LAW...
IJCNCJournal
 
PDF
Further results on the joint time delay and frequency estimation without eige...
IJCNCJournal
 
PDF
Key management in information centric networking
IJCNCJournal
 
PDF
Framework for wireless network security using quantum cryptography
IJCNCJournal
 
PDF
A review study of handover performance in mobile ip
IJCNCJournal
 
PDF
Ijcnc050211
IJCNCJournal
 
PDF
OPTIMIZING VOIP USING A CROSS LAYER CALL ADMISSION CONTROL SCHEME
IJCNCJournal
 
PDF
NODE FAILURE TIME AND COVERAGE LOSS TIME ANALYSIS FOR MAXIMUM STABILITY VS MI...
IJCNCJournal
 
PDF
Ijcnc050214
IJCNCJournal
 
PDF
A novel scheme to improve the spectrum sensing performance
IJCNCJournal
 
PDF
ETOR-Efficient Token based Opportunistic Routing
IJCNCJournal
 
Ijcnc050206
IJCNCJournal
 
Ijcnc050201
IJCNCJournal
 
On the development of methodology for planning and cost modeling of a wide ar...
IJCNCJournal
 
A fuzzy logic controllerfora two link functional manipulator
IJCNCJournal
 
A New Programming Model to Simulate Wireless Sensor Networks : Finding The Be...
IJCNCJournal
 
Dcf learn and performance analysis of 802.11 b wireless network
IJCNCJournal
 
LTE QOS DYNAMIC RESOURCE BLOCK ALLOCATION WITH POWER SOURCE LIMITATION AND QU...
IJCNCJournal
 
PAPR REDUCTION OF OFDM SIGNAL BY USING COMBINED HADAMARD AND MODIFIED MEU-LAW...
IJCNCJournal
 
Further results on the joint time delay and frequency estimation without eige...
IJCNCJournal
 
Key management in information centric networking
IJCNCJournal
 
Framework for wireless network security using quantum cryptography
IJCNCJournal
 
A review study of handover performance in mobile ip
IJCNCJournal
 
Ijcnc050211
IJCNCJournal
 
OPTIMIZING VOIP USING A CROSS LAYER CALL ADMISSION CONTROL SCHEME
IJCNCJournal
 
NODE FAILURE TIME AND COVERAGE LOSS TIME ANALYSIS FOR MAXIMUM STABILITY VS MI...
IJCNCJournal
 
Ijcnc050214
IJCNCJournal
 
A novel scheme to improve the spectrum sensing performance
IJCNCJournal
 
ETOR-Efficient Token based Opportunistic Routing
IJCNCJournal
 
Ad

Similar to Different date block size using to evaluate the performance between different symmetric key algorithms (20)

PDF
Implement a novel symmetric block
ijcisjournal
 
PDF
L017136269
IOSR Journals
 
PDF
Comparison of Various Encryption Algorithms and Techniques for improving secu...
IOSR Journals
 
PDF
IMPLEMENT A NOVEL SYMMETRIC BLOCK CIPHER ALGORITHM
ijcisjournal
 
PDF
IMPLEMENT A NOVEL SYMMETRIC BLOCK CIPHER ALGORITHM
ijcisjournal
 
PDF
Implementation of aes and blowfish algorithm
eSAT Publishing House
 
PDF
A NOVEL STRUCTURE WITH DYNAMIC OPERATION MODE FOR SYMMETRIC-KEY BLOCK CIPHERS
IJNSA Journal
 
PDF
Design and Implementation of New Encryption algorithm to Enhance Performance...
IOSR Journals
 
PDF
A Survey On The Cryptographic Encryption Algorithms
Joe Osborn
 
PDF
N45028390
IJERA Editor
 
PDF
Caesar Cipher Method Design and Implementation Based on Java, C++, and Python...
IJCSIS Research Publications
 
PDF
A Survey on Cryptographic Techniques for Network Security.pdf
Yasmine Anino
 
PDF
A REVIEW STUDY OF CRYPTOGRAPHY TECHNIQUES
Valerie Felton
 
PDF
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
PDF
J017667582
IOSR Journals
 
PDF
Prevention of Cheating Message based on Block Cipher using Digital Envelope
iosrjce
 
PDF
SYMMETRIC-KEY BASED PRIVACYPRESERVING SCHEME FOR MINING SUPPORT COUNTS
acijjournal
 
PDF
The effect of Encryption algorithms Delay on TCP Traffic over data networks
IOSR Journals
 
PDF
O017128591
IOSR Journals
 
PDF
A Review on Various Most Common Symmetric Encryptions Algorithms
ijsrd.com
 
Implement a novel symmetric block
ijcisjournal
 
L017136269
IOSR Journals
 
Comparison of Various Encryption Algorithms and Techniques for improving secu...
IOSR Journals
 
IMPLEMENT A NOVEL SYMMETRIC BLOCK CIPHER ALGORITHM
ijcisjournal
 
IMPLEMENT A NOVEL SYMMETRIC BLOCK CIPHER ALGORITHM
ijcisjournal
 
Implementation of aes and blowfish algorithm
eSAT Publishing House
 
A NOVEL STRUCTURE WITH DYNAMIC OPERATION MODE FOR SYMMETRIC-KEY BLOCK CIPHERS
IJNSA Journal
 
Design and Implementation of New Encryption algorithm to Enhance Performance...
IOSR Journals
 
A Survey On The Cryptographic Encryption Algorithms
Joe Osborn
 
N45028390
IJERA Editor
 
Caesar Cipher Method Design and Implementation Based on Java, C++, and Python...
IJCSIS Research Publications
 
A Survey on Cryptographic Techniques for Network Security.pdf
Yasmine Anino
 
A REVIEW STUDY OF CRYPTOGRAPHY TECHNIQUES
Valerie Felton
 
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
J017667582
IOSR Journals
 
Prevention of Cheating Message based on Block Cipher using Digital Envelope
iosrjce
 
SYMMETRIC-KEY BASED PRIVACYPRESERVING SCHEME FOR MINING SUPPORT COUNTS
acijjournal
 
The effect of Encryption algorithms Delay on TCP Traffic over data networks
IOSR Journals
 
O017128591
IOSR Journals
 
A Review on Various Most Common Symmetric Encryptions Algorithms
ijsrd.com
 

More from IJCNCJournal (20)

PDF
A Cluster-Based Trusted Secure Multipath Routing Protocol for Mobile Ad Hoc N...
IJCNCJournal
 
PDF
Evaluating OTFS Modulation for 6G: Impact of High Mobility and Environmental ...
IJCNCJournal
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
IJCNCJournal
 
PDF
Classification of Network Traffic using Machine Learning Models on the NetML ...
IJCNCJournal
 
PDF
A Cluster-Based Trusted Secure Multipath Routing Protocol for Mobile Ad Hoc N...
IJCNCJournal
 
PDF
Energy Efficient Virtual MIMO Communication Designed for Cluster based on Coo...
IJCNCJournal
 
PDF
An Optimized Energy-Efficient Hello Routing Protocol for Underwater Wireless ...
IJCNCJournal
 
PDF
Evaluating OTFS Modulation for 6G: Impact of High Mobility and Environmental ...
IJCNCJournal
 
PDF
Simulated Annealing-Salp Swarm Algorithm based Variational Autoencoder for Pe...
IJCNCJournal
 
PDF
A Framework for Securing Personal Data Shared by Users on the Digital Platforms
IJCNCJournal
 
PDF
Developing a Secure and Transparent Blockchain System for Fintech with Fintru...
IJCNCJournal
 
PDF
Visually Image Encryption and Compression using a CNN-Based Autoencoder
IJCNCJournal
 
PDF
Efficient Algorithms for Isogeny Computation on Hyperelliptic Curves: Their A...
IJCNCJournal
 
PDF
Delay and Throughput Aware Cross-Layer TDMA Approach in WSN-based IoT Networks
IJCNCJournal
 
PDF
Enhancement of Quality of Service in Underwater Wireless Sensor Networks
IJCNCJournal
 
PDF
Comparative Analysis of POX and RYU SDN Controllers in Scalable Networks
IJCNCJournal
 
PDF
Developing a Secure and Transparent Blockchain System for Fintech with Fintru...
IJCNCJournal
 
PDF
Visually Image Encryption and Compression using a CNN-Based Autoencoder
IJCNCJournal
 
PDF
Efficient Algorithms for Isogeny Computation on Hyperelliptic Curves: Their A...
IJCNCJournal
 
PDF
Delay and Throughput Aware Cross-Layer TDMA Approach in WSN-based IoT Networks
IJCNCJournal
 
A Cluster-Based Trusted Secure Multipath Routing Protocol for Mobile Ad Hoc N...
IJCNCJournal
 
Evaluating OTFS Modulation for 6G: Impact of High Mobility and Environmental ...
IJCNCJournal
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
IJCNCJournal
 
Classification of Network Traffic using Machine Learning Models on the NetML ...
IJCNCJournal
 
A Cluster-Based Trusted Secure Multipath Routing Protocol for Mobile Ad Hoc N...
IJCNCJournal
 
Energy Efficient Virtual MIMO Communication Designed for Cluster based on Coo...
IJCNCJournal
 
An Optimized Energy-Efficient Hello Routing Protocol for Underwater Wireless ...
IJCNCJournal
 
Evaluating OTFS Modulation for 6G: Impact of High Mobility and Environmental ...
IJCNCJournal
 
Simulated Annealing-Salp Swarm Algorithm based Variational Autoencoder for Pe...
IJCNCJournal
 
A Framework for Securing Personal Data Shared by Users on the Digital Platforms
IJCNCJournal
 
Developing a Secure and Transparent Blockchain System for Fintech with Fintru...
IJCNCJournal
 
Visually Image Encryption and Compression using a CNN-Based Autoencoder
IJCNCJournal
 
Efficient Algorithms for Isogeny Computation on Hyperelliptic Curves: Their A...
IJCNCJournal
 
Delay and Throughput Aware Cross-Layer TDMA Approach in WSN-based IoT Networks
IJCNCJournal
 
Enhancement of Quality of Service in Underwater Wireless Sensor Networks
IJCNCJournal
 
Comparative Analysis of POX and RYU SDN Controllers in Scalable Networks
IJCNCJournal
 
Developing a Secure and Transparent Blockchain System for Fintech with Fintru...
IJCNCJournal
 
Visually Image Encryption and Compression using a CNN-Based Autoencoder
IJCNCJournal
 
Efficient Algorithms for Isogeny Computation on Hyperelliptic Curves: Their A...
IJCNCJournal
 
Delay and Throughput Aware Cross-Layer TDMA Approach in WSN-based IoT Networks
IJCNCJournal
 

Recently uploaded (20)

PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Doc9.....................................
SofiaCollazos
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 

Different date block size using to evaluate the performance between different symmetric key algorithms

  • 1. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 DOI : 10.5121/ijcnc.2014.6208 89 DIFFERENT DATE BLOCK SIZE USING TO EVALUATE THE PERFORMANCE BETWEEN DIFFERENT SYMMETRIC KEY ALGORITHMS 1 Ali M Alshahrani 2 Prof. Stuart Walker Department of Electronic Systems Engineering, University of Essex, Wivenhoe Park, Colchester, Essex, UK, C04 3SQ ABSTRACT The different computer networks whether wired or wireless are becoming more popular with its high security aspect. Different security algorithms and technique are using to avoid any aforementioned attacks. One of these technique is a cryptography technique that makes the data as unreadable during the transfer hence; there is no chance to reclaim the information. Presently, most of the users are using various media types and internet to transfer the data but, it has the chance to retrieve the data by using these media types. The perfect solution for this problem is to provide security on time-to-time basis; this stage is always significant to the security related community discussions. This paper explains the comparison between the run time of three different encryption algorithms which are DES, AES and Blowfish The compression includes using different modes, data block size and different operation modes. As a result, Blowfish algorithm followed by AES take less time for running compared to DES. KEYWORDS AES, DES, Blowfish, Encryption and Decryption. 1. INTRODUCTION: Real time applications (RTA) are a set of technologies that are used to allow multimedia, such as voice calls, videoconferences to transfer the data from sender to receiver through the Internet Protocol (IP). There are many reasons that help to appear such services like the low of cost. Consequently, many companies enroll to this market and develop several of system that are provide a good quality of service. Recently, the computer and internet network has developing and that allow to multimedia to be the best choice for most of people to contact. Sensitive information, financial transactions and political meetings are an example of data that must have a high level of security. The cryptography system technique has long been used to ensure this sensitive information can be transmitted in a way that protects them when they are transported through an unsecured network (e.g. the internet). To protect the stored data in computing systems, using different security techniques is highly required such as encryption and decryption technique. By using this security everyone can easily protect their stored data in computers and during transmission process. For example, data cannot be read or observed by any other persons with permission. By implementing passwords and data encryption techniques, many computers will be secured. Translation of data into a form is called as Data encryption. This is incoherent without a decode mechanism. A password is a secret word or phrase that gives a user access to a particular program or system [1][2].
  • 2. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 90 Security techniques are also named as information security. It is able to implement for computers and networks. Cryptography system is very important to transmit different types of data through unsecure network such as Internet. Encryption and decryptions are the process that done to move the data from the sender to receiver but by using a secret key. The procedure of changing the plain text into cipher text is called as an encryption algorithm. This process is done during the transfer the data through vulnerable channels and secret key is even used in encryption for the process of conversion. On the other hand, the process of changing the cipher text into a plain text is called as decryption algorithm. The procedure accomplished using the secret key. Plain text is the original text before encryption. After entered a secret key to the plain text, it becomes a cipher text. The basic aspect of the symmetric algorithm is a secret key, which is used in both decryption and encryption techniques. But, it needs to maintain secret to avoid the middle attacks to retrieve the information. The cryptography technique is classified into two types: Asymmetric Algorithm and Symmetric Algorithm Converting the plaint text into the cipher text by using secret key is called encryption [3][4][5]. This paper explains the description of symmetric cryptography algorithm survey, performance analysis and symmetric encryption algorithm between three of the most common algorithms which are DES, AES and Blowfish. They are implemented in Java to compare the performance by using different data block size and the standard key length. 2. CRYPTOGRAPHY: Encryption and decryption systems are defined as a set of algorithms that convert plain text data by using an agreement key for the cipher text in the sender side (encryption). The decryption process is done on the receiver side by extracting the key from the data to obtain the plain text again. The encryption method is considered strong due to several factors: the initialization vectors, the length and secrecy of the key, the algorithm, and how all of these function simultaneously. Strength, in terms of encryption, generally signifies the level of difficulty by which it is possible to decipher the key or algorithm. Thus, decoding a key must involve processing a large number of probable values in order to attain a value which can be employed so as to decrypt or decode a particular message. In other words, non-repudiation services, authenticity, confidentiality, and integrity can be provided by means of a cryptosystem. The basic types of cryptographic systems are symmetric keys, also called secret keys, or asymmetric keys, also called public keys (see next section) [3][5]. Figure1: Encryption and decryption process.
  • 3. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 91 2.1 The basic types of cryptographic system: The basic types of cryptographic systems are symmetric keys, also called secret keys, or asymmetric keys, also called public keys. The idea behind symmetric key systems is for both the sender and the recipient to have the same key. The sender uses this key in order to encode or encrypt the information or data, and once more, the recipient utilizes it in order to decrypt the information or the data[3][6][7]. Figure below shows the Symmetric key: Figure2: Symmetric technique. On the other hand, asymmetric cryptographic systems are believed to be far more adaptable and compliant. Normally, each user holds a public key as well as a private key. Therefore, one key is used in order to encrypt or encode messages while the other key is utilized to decrypt or decode the messages [3][6][7]. The figure below shows the asymmetric key procedure. Figure 3: Asymmetric key 3. BLOCK CIPHER VS. STREAM CIPHER Block and stream ciphers are considered as symmetric ciphers. In fact, stream ciphers are based on producing an "unlimited" cryptographic keystream and applying it to encrypt a bit or byte simultaneously. Conversely, block ciphers operate concurrently on larger pieces of data that is, blocks, frequently joining blocks in order to provide extra security. The stream cipher idea is simply to divide the text into relatively unit by unit to allow every block encoding to be based on numerous preceding blocks. The concept of a block cipher is to divide the text into fairly bulky blocks, for instance, 128 bits, then to encode every block individually. Normally, each block encoding is based on at the maximum a block of the former ones. The key remains unchanged when applied with every block [8][9].
  • 4. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 92 4. MODE OF OPERATION: Modes of operations are the algorithms used in a cryptography system with a block cipher technique to provide security requirements, such as confidentiality and authenticity. The modes identify the way that data will be encrypted. The standard modes are the Electronic Codebook (ECB) mode, the Cipher Block Chaining (CBC) mode, the Cipher Feedback (CFB) mode, and the Output Feedback (OFB) mode [10][11][12]. A. Electronic codebook (ECB): ECB is a raw cipher that was published in 1981; it provides confidentiality and does not use IV. The main concept of this mode is to split the message into fixed-length blocks and encrypt each block independently. In this operation mode, the data are divided into 64-bit blocks, which are encrypted one at a time. For example, if data are transmitted along the network and any transmission occurs, it will affect only the blocks that contain the error. The blocks should be rearranged, and then the data sent. The greatest disadvantages of this encryption technique are, first, problems being encountered when protecting the affected data from the attack, and second, this mode being less effective when compared to the remaining modes. However, it is fast and easy to implement compared with the other modes [10][11][12]. Figure 4: ECB mode encryption and decryption process. B. Cipher-block chaining (CBC) The main concept of this mode is that IV is X-ORed with plaintext before encryption and for later blocks, uses the previous ciphertext as the IV. In order to know the plain text for a particular block, it is also necessary to know the key and cipher text for the previous block. As the first block is encrypted but has no previous cipher text, a 64-bit block is used to encrypt the block; this is called an initialization vector. If any problem occurs during the transmission, the error is forwarded to all the blocks because each is dependent on the other; thus it will affect the subsequent block. So the data will not be affected. This operation mode is more secure than the ECB operation mode [10][11][12]. Figure 5: CBC mode encryption and decryption process.
  • 5. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 93 C. Cipher feedback (CFB): In this operation mode, the input data are considered as the blocks of input, but not is not necessary to store the 64 bits of data. First, the 64 bits are stored in the one block called the shift register. Then, this shift register is considered as an input in plaintext. This block is already set to some arbitrary values. This cipher text is then passed through the extra components, called M-boxes. The M-boxes select only certain bits for encryption. This output is in plaintext. This cipher text is again fed into the shift register, and it acts as an input for the next block. This process is the same as the CBC, but additional functionalities are added to this system. If any error occurs, it will affect the subsequent blocks only. Compared to CBC, its performance is slower because of some added complex functionalities [10][11][12]. Figure 6: CFB mode encryption and decryption process. D. Output feedback (OFB) This operation mode is the same as the CBC but there are slight changes in the system performance. This takes the input into the shift register and sets it to an arbitrary initial value, and this is then passed into the algorithms. From there, it is passed into the M-boxes. This is the final output cipher text. This value is X-ORed with the real plain text, and this is the final output. In CBC and CFB, if any error occurs, it will affect all the subsequent blocks but when in OFB and once the shift register has been initialized, it will continue to affect all the blocks of the shift registers. Because each block output does not depend on the previous block, it will not affect the remaining blocks. However, it is less secure than the CBC and CFB because only the cipher text and DES cipher text values are needed to find the original plain text; the key is not required [10][11][12]. Figure 7: OFB mode encryption and decryption process.
  • 6. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 94 5. ENCRYPTION ALGORITHMS: A. Data Encryption Standard (DES) DES is one of the block cipher techniques developed by the National Bureau of Standards in the USA in 1976. It is used for security purposes to protect sensitive, unclassified, and commercial data by using the 56-bit key and 64-bit block size [13][14]. B. Advanced Encryption Standard (AES) : AES technology (Rijndael) is a block cipher symmetric algorithm published in 1997 by NIST for use instead of DES. Generally, the AES standard allows a block size of 128-bits and selects one key out of three keys, such as 192, 265 and 128-bit keys. AES is used to provide security for data by encrypting the original data to the cipher data [15][16]. C. Blowfish: This technique has a 64-bit block size and the length ranges from 32-bits to 448-bits. Blowfish is a 16-bit round Feistel cipher and utilizes the large key dependent S-boxes, which are rigid, and each line allows 32-bits. These S-boxes allow input of up to 8-bits and give an output of up to 32-bits. Given that the key length of Blowfish can be extended from 38-bits to 448-bits, this provides more security for data. The 32-bit key input is separated into four 8-bit quarters and uses one-by-one quarter as inputs[17][18][19]. 6. EXPERIMENTAL METHODOLOGY, RESULT AND ANALYSIS: The Java environment was used to evaluate the run time performance of three different types of encryption algorithms (DES, AES and blowfish) and four different types of operations modes. The aim of the experiment is to calculate each algorithm’s run time speed efficiency to encrypt and decrypt many blocks of different sizes of text in different modes of operation. The key size of DES, AES and blowfish are 56, 128 and 128 respectively. While the block sizes are 64 for DES and 128 for AES and blowfish. The below figure shows the GUI of the Java program. Figure 8: GUI of the Java program.
  • 7. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 95 RESULT AND ANALYSIS: The experiment has been done to compare between DES, AES and Blowfish which are consider as symmetric key cryptography algorithms. Different sizes of data blocks and standards key size used to evaluate the algorithm's run time speed. 100, 200, 300, 400, 500 and 1000 kb are the data block size that using in the experiment and the user can choice one of these size or can choice any block size. The DES key size is 64 and AES and Blowfish are 128 kb. Figure 9: run time performance speed with ECB mode 0 5 10 15 20 100 200 300 400 500 1000 Time(sec) Data Block Size (Kb) DES AES Blowfish Figure 10: run time performance speed with CBC mode. CBC requires more processing time than ECB because of its key-chaining feature. However, compared to ECB, CBC is much better in terms of security.
  • 8. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 96 0 20 40 60 80 100 100 200 300 400 500 1000 Time(Sec) Data Block Size (Kb) DES AES Blowfish Figure 11: run time performance speed with CFP mode. 0 20 40 60 80 100 120 100 200 300 400 500 1000 Time(Sec) Data Block Size (Kb) DES AES Blowfish Figure 12: run time performance speed with OFB mode. The OFB mode has a different procedure for the security processes because it uses the XOR operation, and its cipher output is a key stream so it needs more time compared to previous modes. Finally, as expected, CFB requires less processing time than does OFP. CONCLUSION: Performance of the symmetric encryption algorithms DES, AES and Blowfish has been evaluated for the different modes (ECB, CBC, CFB, and OFB) of encryption and decryption. Key size for DES algorithm is fixed as 56 bits, AES and Blowfish algorithms have the key size of 128 bits. Execution time is evaluated by varying different data sizes of 100,200,300,400,500 and 1000 Kb. The result shows that Blowfish run time is the fastest algorithm compared to AES and DES. FUTURE WORK: In future, the work will extend this project to allow the encryption and decryption of all different types of data, such as image, sound, and video. Then, a new algorithm will be developed that will fulfil the QoS requirements. ACKNOWLEDGEMENTS: I would like to express my very great appreciation to Prof. Walker for his advice and completely supporting during this paper.
  • 9. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.2, March 2014 97 REFERENCES [1] M. Hil. and G. Zhang, “A Web Services Based Frame work for Voice over IP”, Proceedings of the 30th Euromicro Conference, vol. 10, pp. 258 –264, 2004. [2] Obaida. Al-Hazaimeh, " Increase the Security Level for Real-Time Application Using New Key Management Solution", International Journal of Computer Science Issues(IJCSI), Vol. 9, Issue 3, 2012. [3] D. Stinson," Cryptography Theory and Practice", CRC Press Inc., NY, USA, 1995. [4] E. Cole, R. Krutz and J. W. Conley," Network Security Bible", Wiley Publishing Inc, 2005. [5] Katz, Jonathan and Yehuda Lindell (2007).’ Introduction to Modern Cryptography’. [6] P.C. van Oorschot, A.J. Menezes, and S.A. Vanstone, “Handbook of Applied Cryptography,”CRC Press, Inc., 1997. [7] Network Associates, Inc., ‘’ An Introduction to Cryptography.’’, June 2001. [8] B. Moeller ,‘’Security of CBC Ciphersuites in SSL/TLS: Problems and Countermeasures’’, (May 20, 2004), [9] William F. Ehrsam, Carl H. W. Meyer, John L. Smith, Walter L. Tuchman, "Message verification and transmission error detection by block chaining", US Patent 4074066, 1976. [10] Dworkin M. ‘’ Recommendation for Block Cipher Modes of Operation’, NIST Special Publication 800-38A 2001 Edition. [11] Biham, Eli and Shamir, Adi, ‘’Differential Cryptanalysis of the Data Encryption Standard’’, Springer Verlag, 1993. ISBN 0-387-97930-1, ISBN 3-540-97930-1. [12] Hristof Paar, Jan Pelzl, "Stream Ciphers", Chapter 2 of "Understanding Cryptography, A Textbook for Students and Practitioners", 2009. [13] Knudsen, Lars R., The Block Cipher Companion. Springer. ISBN 9783642173417, (2011). [14] Daemen J, Rijmen V, "The Design of Rijndael: AES – The Advanced Encryption Standard." Springer, 2002. ISBN 3-540-42580-2. [15] H Wang ; H Zheng ; B Hu ; H Tang .’’ Improved Lightweight Encryption Algorithm Based on Optimized S-Box’, Computational and Information Sciences (ICCIS), 2013 Fifth International Conference. [16] T Sharma. ; R. Thilagavathy. ‘’ Performance analysis of advanced encryption standard for low power and area applications’’, Information & Communication Technologies (ICT), 2013 IEEE Conference, 2013 , Page(s): 967 – 972. [17] B. Schneier, "The blowfish encryption algorithm-one year later," Dr. Dobb 's Journal, 1995. [18] B Schneier (1993). "Description of a New Variable-Length Key, 64-Bit Block Cipher (Blowfish). [19] A. Alabaichi ; F. Ahmad ; R. Mahmod, ‘’ Security analysis of blowfish algorithm’’ Informatics and Applications (ICIA),2013 Second International Conference. Authors: Ali Alshahrani was born in Saudi Arabia in 1982. He received his M.Sc. from University of Essex in 2011. He is currently PhD student at Essex University, UK, Colchester. His research interests include Network Security, Image Processing, Mobile Payment and e-learning. Prof. Stuart D.Walker was born in Dover, U.K., in 1952.He received the B.Sc. (Hons) degree in physics from Manchester University, Manchester, U.K., in 1973, and the M.Sc. degree in telecommunications systems and the Ph.D. degree in electronics from Essex University, Essex, U.K., in 1975 and 1981, respectively. After a period of postdoctoral work at Essex University, he joined the then British Telecom (BTPlc) Research Laboratories, Martlesham Heath, Ipswich, U.K., in 1982. Initially, he was concerned with regenerator design issues in submarine optical transmission systems. While at BT Plc, he was jointly responsible (with Prof. P. Cochrane) for pioneering the unrepeatered-transmission-system concept. In 1987, he was promoted to head the transatlantic link-repeater group, where he supervised the design and fabrication of high-reliability integrated circuits. In 1988, he became a Senior Lecturer at Essex University. There, his research interests included fiber-polarization studies and novel optoelectronic-device configurations. He then developed an interest in access-network design and construction, where he formed a specialist research group. In 2003, he was promoted to Reader and to Full Professor in 2004. He has published over 150 journal and conference papers and has 6 patents granted.