• No results found

Invention Of Arbitrary Encryption System Using Applied Mathematical Tree Structure

N/A
N/A
Protected

Academic year: 2020

Share "Invention Of Arbitrary Encryption System Using Applied Mathematical Tree Structure"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Invention of Arbitrary Encryption System Using

Applied Mathematical Tree Structure

K.Berlin, S.S.Dhenakaran, KR.Sivabalan

Abstract— Problem detection based on the communication system is considered as an important aspect of networking systems. Data transmission has played a big role in today’s world wide activities. But it is a big challenge to safe the data and escape from the hackers. The main objective of this research work is to provide strong cryptosystem for text data. To protect privacy of data plenty of research work has done using different cryptosystem methods. To enhance the security level an efficient crypto technique is designed for preserving privacy of plain text data. Construction of crypto system is relies upon the two separate technique named as Applied Mathematical Tree Structure (AMTS) and Matrix Mathematical (MM) model. The selection of an algorithm is entirely depends on the sizes of plain text. If the size of plain text counted as 2n level of order then it will processing with AMTS model, data other than the 2n level order works with MM model. Key has constructed from within the source file. Through the analyzed of security parameters we ensure that our proposed scheme increasing the level of security by using of two crypto systems.

Index Terms— Communication system, Applied Mathematical Tree Structure, Matrix Mathematical Model, Cryptosystem, Cipher-text only attack, Known-Plain Text attack.

——————————  ——————————

1 I

NTRODUCTION In the present scenario due to the fast growing of internet and electronic commerce, cryptography has become critical to business transactions and legal exchanges. The internet has made the transfer of data easy and perform vital role of our day to day activities. Computers allow us to store and transmit data with ease. Data storage takes up much less space than a filling cabinet and data can be transmitted almost instantaneously using the internet. The ease and speed of data transfer have led to the development of faster and bigger systems to handle large amount of data. Some of these data are private and contains information that is only to be read by certain individuals. Also critical information has transmitted over the internet. This information should be protected from unauthorized eyes. To achieve this goal, encryption is the technique used to preserve the data.

The major areas of cryptographic architecture are public key cryptography and symmetric key cryptography. The symmetric key based algorithms are called conventional cryptographic algorithms or secret key algorithms. They are implemented using two types of ciphers called block ciphers and stream ciphers. Stream ciphers can encrypt a plaintext as bit by bit, on the other hand block ciphers encrypt data as block wise. Using these cipher types, the data are separated into chunks; those chunks are encrypted and decrypted based on a specific key. Stream ciphers are used more dominantly than block ciphers, as the chunk is encrypted as a bit by bit basis. This process is much smaller and faster than encrypting large chunks or block of data. This method uses a secret key which is shared by both sender and receiver of the message.

The process of encryption and decryption has done by same key. The Asymmetric key model uses two keys to fulfill the encryption process, one for encryption and another one for decryption.

The methodology which has applied for hiding data is called as cryptography. It is the mechanism of attain security to save the secrets as non readable format. When the original message is encoded by using encryption scheme, the resulting data is notified as a cipher text and it is access only by those who know the encryption and decryption process of that corresponding scheme.

Cryptography is an effective and efficient method of assure data security. Commonly cryptography has applied on data transmission; it is now increasingly existence utilized for protecting information at same as considerably. The means of encryption is convert the original data into meaningless to save the ciphers unless the key file cannot be provided. Personal information or sensitive data like banking records, medical data and financial exchanges are made via public online transactions.

So as a security concern, safe of sensitive data is a tedious process. To overcome these kinds of risk cryptography can assure the security among the secrets. Cryptographic techniques permit authenticated persons to transmit and store data securely on unprotected networks so that the personal data can be known only by the authenticated receiver. Crypto mechanisms can carry out the encryption process on the secrets [14] and gives encrypted data in the form of meaningless to the persons who have not recognize of the key. Learning of the key is imperative for decryption.

Cryptographic techniques can use code substitution for encryption like matching each letter for appropriate numeric; otherwise use more complicated encryption methods to strengthen the secrets. The methods used for encryption and decryption may be explained publicly but the key is kept as secret [12]. Encryption is preferable good method for secure bulk of data while it can be transmitted across unsecure channels. Cryptosystem techniques can be used as a

————————————————

K.Berlin is currently pursuing doctorate in Computer Science at Alagappa University,Karaikudi, India. E-mail: [email protected]

S.S.Dhenakaran is currently working as a Professor in the department of Computer Science, Alagappa University, Karaikudi, India

E-mail: [email protected]

(2)

symmetrical or asymmetrical. In public key cryptography, the person wants to pick up the encrypted data by publishes of own public key, which is used to data encryption. This is safe for data because the encrypted cipher text can be decrypted only by the private key which is created using the person’s public key. The apt sender can be authenticated though this process. In symmetric same key used for encryption as well as decryption, so sometimes it suffers by key distribution problem. Same key that has to be sent from one sender to receiver and the question is how key is to be share securely, sometimes which can be impossible.

The cryptosystems are categorized as two broad concepts such as stream cryptosystem and block cryptosystem. Generally block ciphers cryptosystem much difficult to break then stream ciphers[15]. At the same time block cryptosystem needs more memory to implement, the requirement of memory space is based on the number characters used. Other than this, the special kind of cryptosystem is named as one-time pad[13]. It is mathematically unbreakable and it uses separate key for every message individually.

2

E

NCRYPTION

M

ETHODOLOGIES FOR

P

RESERVING

T

EXT

D

ATA

Encryption with reduced sizes of cipher text was achieved by Mani Arora et al. [1] with the name of MDS Algorithm for Encryption. Objective of this scheme is to reduce the sizes of cipher text by using of pre chosen mathematical function. Dictionaries are plays a main role instead of key. Two different dictionaries are used as primary and secondary dictionary. In nature primary dictionary is static and secondary dictionary works dynamically. The primary dictionary has codes for words, numeral data and alpha numeric. Generally any digits can occupy 16 bits of memory, but the code can occupy 12 bits of memory for every digits. So automatically this approach reduces the sizes of cipher text. It reduces the redundancy and data transmission time.

Attribute based searchable encryption scheme was proposed using cipher text-policy attribute-based encryption technique [2]. For authorized searching data owners allowed to encrypt index keyword. Revocable Identity Based Encryption (RIBE) scheme was proposed by Rui Zhang et al. [3]. In this mechanism authors considers Key Dependent Message (KDM) security along with RIBE.

Hardik Gandhi et al. [4] implemented encryption scheme to encrypt text data named as research on enhancing public key cryptography by the use of MRGA with RSA and N-Prime RSA. In first phase magic rectangle is constructed in the order of 32×48. Magic rectangle having 1536 values totally. Magic rectangle divide into 12 quadrants and each having 128 characters. In second phase plain text is converted into numerals depends on its corresponding position of magic rectangle. Finally numerals are encrypted using RSA and N-Prime RSA algorithms.

Duong-Hieu Phan et al [5] designed public key encryption method with constant sizes of cipher text and secret keys to achieve security of chosen cipher attack. By using the same set of parameters authors provides the functionalities of revocation scheme as well as broadcast encryption simultaneously. Also implements inclusive-exclusive

broadcast encryption scheme which has designed for the purpose of working as a both revocation scheme and broadcast encryption scheme at the same time.

Akif Akgul et al [6] implemented encryption scheme for secure text data in the name of Text Encryption by Using One-Dimensional Chaos Generators and Nonlinear Equations. Three distinct chaos generators are applied and analyzed to process the encryption method. Chaos generators named as logistic map, pinchers map, sine-circle map. To increase the communication security non-linear equations are applied. Encryption was applied with the use of non-linear function,

v

x refers ciphers that are generated by the chaos maps and m refers the message to be encrypted.

Encryption mechanism was implemented by Sreeja Rajesh at al [7] to transfer securely between devices. Method was named as A Secure and Efficient Lightweight Symmetric Encryption Scheme for Transfer of Text Files between Embedded IoT Devices. To enhance the level of security tiny symmetric encryption algorithm (NTSA) designed. While text encryption key confusions made dynamically for each round of process. An author assures that NTSA method is much more efficient and secure.

Polymorphic encryption key allocation scheme was designed by Geagan et al[11], key allocation scheme is considered as additional security element by the implementation of subset tree.

3 T

HE

P

ROPOSED

W

ORK

In this research work our experiments are carried out using Java NetBeans, the encryption algorithm, decryption algorithm, key generation process are implemented in Java NetBeans.

The whole work has divided into two phases based on the length of input data. If input data length has 2n it will work with phase 1. The data length has other than 2n it will process by phase2 of research work.

Where, i represent the number of input character.

(3)

The second phase has worked when the source data length other than the 2n. Here also the whole source file has divided into two halves. The second half of the data is used to create key as per the mechanism of phase1. The first half of the data has converted into its corresponding ASCII value. This ASCII values are arranged as 8×8 matrix. Then shuffle the matrix values in row and column wise. The shuffled outputs are transformed into UTF value. The second half of odd and even positioned data has shuffled. The shuffled data has changed into UTF-8. UTF-8 has converted into its extended ASCII. Finally this extended ASCII value is used as key.

Phase1: Works with 2n range of input values.

Fig 1. System architecture for Phase 1

For each S (source) data length has divided, K (key) has created by its own S, C (Cipher text) has generated after encryption.

S: Divide two halves of equal length as (s1), (s2); P: Generate Complete Binary Tree CBT (s1); P: Compute Reverse Level Order RLO (CBT); CI: Convert ASCII (CBT);

K: Convert s2 into ASCII;

K: Shuffle ASCII (odd, even) values; K: Merge shuffled values;

C: CI + K;

Result of this procedure has provided cipher text(C). The above algorithm has worked whenever source length is appears as 2n. To be sure that s1 is a source file and s2 is a key file. The data of s1 is,

s1: set of rules to be followed in calculations or other problem solving operations.

Complete Binary Tree of s1 is formed as,

.

Fig 2. Complete binary tree from phase I Reverse level order of CBT is converted as,

s1: u r f o t e s e b o t s e l etc….. (4)

Now the RLO values are converted to ASCII and named as C1 as per the details mentioned in algorithms of phase1

Phase2: Works with other than 2n range of input values.

Fig 3. System architecture for Phase II

S: Divide two halves of equal length as (s3), (s4); P: Convert ASCII;

P: Construct 8×8 matrix;

P: Shuffle (rows, columns) values vice versa; C1: Generate UTF values of P;

K: Shuffle s4 (odd, even); K: Compute UTF-8;

K: Extended ASCII (UTF-8); C: C1 + K

Now C refers that final cipher text. Now suppose source data s1 has length of other than the 2n let it execute phase2 algorithm.

(4)

Shuffle the values of rows and columns; result of this step is done in the order of

Now the shuffled matrix data are replaced by UTF-8 values. The values of UTF-8 has replaced by emoji with the help of its Unicode.

4 E

XPERIMENTAL

R

ESULTS

In this experiment various sizes of plain text data has tested and implemented. Results of proposed experiment are depicted in table1.

TABLE1 ENCRYPTED RESULTS

Plain text Cipher text

The time taken for the three stages (key generation, encryption and decryption processes) using the proposed algorithm increases whenever the size of the plain text is Increased.

⚡☔☀©⚡☀☔©⚡☀❇©☁♒♐©⚡☀☁ ©⚡⚡♑©⚡☔⚡©⚡☀☀©⚡☀♓©⚡⚡♐©⚡ ☔❇©⚡☔⚡©⚡⚡♑©⚡☔⚡©⚡☔❇©⚡⚡ ♑©⚡☔☁©⚡⚡☀©⚡⚡♑©☁♒♐©⚡☀ ☀©⚡☔♑©⚡⚡♍©⚡☀♓©⚡☔❇©⚡☔⚡ ©⚡☀♑©☁♑❇©⚡☀♓©⚡☔❇©⚡☀ ♐©⚡☀☁©⚡☀♓©⚡⚡☀©⚡⚡♓©⚡⚡♓ ©⚡⚡♒©⚡☔♑©⚡☔⚡©⚡☀♑©☁♒♐ ©⚡☔❇©⚡⚡♒©⚡☔

Table2 shows that the time taken for execution of encryption process and key generation for various sizes of input files. Key has changed dynamically based on the input file. Size of encryption key is exactly equal to the plain text data. Absolutely for every input data key generated as much as strong. So it’s hard to execute and find secret by the hackers.

TABLE2

TIME CALCULATION FOR ENCRYPTION AND KEY GENERATION

Plain text size (KB) Time taken for Key Generation (sec)

Time taken for Encryption(sec)

10 1.38 2.7

100 4.45 12.96

300 11.64 26.32

500 21.45 70.61

Fig3. Execution time for Encryption and Key Generation

5 A

NALYSIS OF THE

P

ROPOSED

E

NCRYPTION

A

LGORITHM

Proposed encryption method has analyzed to ensure the security level. The analysis was carried out by using various attacks to secure data against them.

5.1 Known-plaintext attack

The attack of known plaintext is more effective when the hackers try to hack ciphers. Known plaintext attack commonly used simple substitution cipher method to break the ciphers. In the sense of substitution cipher, our proposed algorithm changing the ciphers dynamically with the use of reverse level order method. For example,

From the second round of our proposed method provides output as,

TABLE3

KNOWN-PLAINTEXT ATTACK DATA ANALYSIS

Plaintext 1 Cipher 1 Plaintext 2 Cipher 2

s u e l

e r f t

t h f r

o r o m

f t r f

r e t f

u s l e

l a e s

e b s e

In table 3 ‘s’ has replaced by ‘u’ and ‘e’ has replaced by ‘r’. On the other hand in table4‘s’ has replaced by ‘e’ and e has replaced by ‘l’. This analysis shows that the substitution data has changed dynamically and proposed method fully secured against known-plaintext attack.

5.2 Cipher-text only attack

(5)

TABLE4 FREQUENCY ANALYSIS

Alphabets

Frequency of alphabets

(%)

Frequency of Ciphertext

(%) Alphabets

Frequency of alphabets

(%)

Frequency of Ciphertext

(%)

a 8.2 4.76 n 6.7 4.76

b 1.5 3.17 o 7.5 15.87

c 2.8 3.17 p 1.9 3.17

d 4.3 1.59 q 0.1 0

e 12.7 11.11 r 6 7.94

f 2.2 3.17 s 6.3 6.35

g 2 1.59 t 9.1 7.94

h 6.1 1.59 u 2.8 3.17

I 7 4.76 v 1 1.59

j 0.15 0 w 2.4 1.59

k 0.8 0 x 0.15 0

l 4 11.11 y 2 0

m 2.4 1.59 z 0.07 0

The common idea is to capture the popular letter in cipher and replace them by the popular letter based on letter frequency.

Fig5. Alphabets Frequency Analysis

Table 4 shows that the frequency of English alphabets and cipher text are occurred in maximum different. In English alphabets letter ‘e’ has the maximum frequency of 12.7. Such that in cipher alphabets letter ‘o’ has the maximum frequency of 15.87. Hackers try to replace ‘o’ for ‘e’, but for ‘e’ the corresponding cipher is ‘e’. So based on the frequency analysis our proposed method has tested of cipher-text only attack.

6 C

ONCLUSION

In this paper arbitrary encryption method has proposed using applied mathematical tree structure. Two different methodologies are working based on the plain text length. If L=2n phase1 of the proposed methodology has proceed. If L≠2n then algorithm executed phase 2 methods. Key generation processed separately for each phase. In the security aspect we analyzed and tested cipher text with two different attacks. We ensure that for text files the proposed arbitrary encryption system more secure against known-pliantext attack

and ciphertext-only attack.

A

CKNOWLEDGMENT

This article has been with the financial support of RUSA – phase 2.0 grant sanctioned via Letter No F.24-51 / 2014-U, Policy (TNMulti-Gen), Dept. of Edn. Govt. of India, Dt. 09.10.2018.

R

EFERENCES

[1] Mani Arora, Derick Engles and Sandeep Sharma, “MDS Algorithm for Encryption” in journal of computer science, vol.11(3), pp.479-483, doi: 10.3844/jcssp.2015.479.483. [2] HUI YIN et al, “CP-ABSE: A Ciphertext-Policy

Attribute-Based Searchable Encryption Scheme”, IEEE, vol.7, pp. 5682-5694,2019, doi: 10.1109/ACCESS.2018.2889754. [3] Rui Zhang and Yang Tao, “Key Dependent Message

Security for Revocable Identity-Based Encryption and Identity-Based Encryption” in Springer Nature, LNCS 11149, pp. 426–441, 2018, doi: 10.1007/978-3-030-01950-1_25.

[4] Hardik Gandhi,Vinit Gupta and Indra Rajput “ A Research on Enhancing Public Key Cryptography by the use of MRGA with RSA and N—Prime RSA”, in International Journal for Innovative Research in Science & Technology, vol.1(12), 2015, pp. 91-98.

[5] Duong-Hieu Phan , David Pointcheval, Siamak F. Shahandashti Mario Strefler(2013) “Adaptive CCA broadcast encryption with constant-size secret keys and ciphertexts”, In: int.j.inf.secur,Springer, pp 251-265.doi:10.1007/s10207-013-0190-0.

[6] Akif Akgul et al, “Text encryption by using one-dimensional chaos generators and nonlinear equations”, Conference: Electrical and Electronics Engineering (ELECO), 2013, doi: 10.1109/ELECO.2013.6713853.

[7] Sreeja Rajesh et al, “A Secure and Efficient Lightweight Symmetric Encryption Scheme for Transfer of Text Files between Embedded IoT Devices”, symmetry, vol.11, 2019, doi: 10.3390/sym11020293.

[8] G. Song, X. Zhou, Y. Wang and K. Xie, "Influence Maximization on Large-Scale Mobile Social Network: A Divide-and-Conquer Method," in IEEE Transactions on Parallel and Distributed Systems, vol. 26, no. 5, pp. 1379-1392, 1 May 2015. doi: 10.1109/TPDS.2014.2320515

(6)

(ICONSTEM), Chennai, 2017, pp. 17-22. doi: 10.1109/ICONSTEM.2017.8261250

[10]C. Cho, W. Chung and S. Kuo, "Using Tree-Based Approaches to Analyze Dependability and Security on I&C Systems in Safety-Critical Systems," in IEEE Systems Journal, vol. 12, no. 2, pp. 1118-1128, June 2018. doi: 10.1109/JSYST.2016.2635681.

[11]Geagan et al, “Polymorphic Encryption Key Allocation Scheme”, United States Patent, no: US 9866,373 B2, 2018. [12]K. Berlin, S.S. Dhenakaran, “A Novel Encryption

Technique for Securing Text Fles”, in International Journal of Advanced Research Trends in Engineering and Technology, vol. 3, pp. 68-72, April 2016.

[13]Fu Guo Deng, Gui Lu Long, “Repeatable Classical One-Time-Pad Crypto-System with Quantum Mechanics”, in Quantum Physics, 2019, doi:arxiv:1902.04218.

[14]K. Berlin, S.S. Dhenakaran, “Adoption of Crypto Encryption Technique in Different Scenario”, in International Journal of Advance Research in Computer Science and Management Studies”, vol.5, august 2017, doi:10.13140/RG.2.232754.96965.

Figure

Fig 2. Complete binary tree from phase I
TABLE REQUENCY 4 ANALYSIS

References

Related documents

The discussions on methodologies of simple and generalized cell mapping culminate in an iterative method of global analysis presented in Chapter 12.. As far as the

Key Words: Max-stable process; spectral tail process; Brown-Resnick stationary; Dieker-Mikosch representation; inf-argmax representation; Pickands constants; tilt-shift

What papers need to be served: You must serve the other party with every motion- related paper you want the court to consider, including the Notice of Hearing, Motion for

I hope that this new edition will be useful to mathematicians, physicists, and students of various disciplines who are interested in various problems of applied fluid dynamics, as

In this section, we present four strategies to analyse whether a new request can be accepted or not based on the QoS requirements and resource capability. Then, we propose

Echo Nest API Music audios ENT feature vectors GMM trainer A generic GMM GMM estimator Music timbre weights Binarizer User ratings / Listen History Relative frequency User-timbre

Indeed, when rms must compete to purchase some inputs necessary for R&D, members of the agreement may increase their R&D eorts only to increase the cost of R&D for

At the first sight, the origins and consequences of globalization can be superficially attributed to some impersonal factors – as we have been accustomed by the established