alexa Data Encryption and Transmission Based on Personal ECG Signals | OMICS International
ISSN: 2090-4886
International Journal of Sensor Networks and Data Communications
Make the best use of Scientific Research and information from our 700+ peer reviewed, Open Access Journals that operates with the help of 50,000+ Editorial Board Members and esteemed reviewers and 1000+ Scientific associations in Medical, Clinical, Pharmaceutical, Engineering, Technology and Management Fields.
Meet Inspiring Speakers and Experts at our 3000+ Global Conferenceseries Events with over 600+ Conferences, 1200+ Symposiums and 1200+ Workshops on
Medical, Pharma, Engineering, Science, Technology and Business

Data Encryption and Transmission Based on Personal ECG Signals

Ching-Kun Chen1, Chun-Liang Lin1*, Shyan-Lung Lin2 and Cheng-Tang Chiang3

1Department of Electrical Engineering, National Chung Hsing University, Taichung, Taiwan

2Department of Automatic Control Engineering, Feng Chia University, Taichung, Taiwan

3Boson Technology Co., LTD, Taichung, Taiwan

*Corresponding Author:
Chun-Liang Lin
Department of Electrical Engineering
National Chung Hsing University
Taichung, Taiwan 402, R.O.C
Tel: +886-4-22851549
Fax: +886-4-22851410
E-mail: [email protected]

Received date: August 31, 2015; Accepted date: September 29, 2015; Published date: October 05, 2015

Citation: Chen CK, Lin CL, Lin SL, Chiang CT (2015) Data Encryption and Transmission Based on Personal ECG Signals. Sensor Netw Data Commun 4:124. doi: 10.4172/2090-4886.1000124

Copyright: © 2015 Chen CK, et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

Visit for more related articles at International Journal of Sensor Networks and Data Communications


ECG signal vary from person to person, making it difficult to be imitated and duplicated. Biometric identification based on ECG is therefore a useful application based on this feature. Synchronization of chaotic systems provides a rich mechanism which is noise-like and virtually impossible to guess or predict. This study intends to combine our previously proposed information encryption/decryption system with chaotic synchronization circuits to create private key masking. To implement the proposed secure communication system, a pair of Lorenz-based synchronized circuits is developed by using operational amplifiers, resistors, capacitors and multipliers. The verification presented involves numerical simulation and hardware implementation to demonstrate feasibility of the proposed method. High quality randomness in ECG signals results in a widely expanded key space, making it an ideal key generator for personalized data encryption. The experiments demonstrate the use of this approach in encrypting texts and images via secure communications.


Communication security; Encryption; Chaos synchronization, Electrocardiogram


Digital information is increasingly applied in real-world applications as multimedia and network technologies continue to develop. A specific encryption system is therefore required to protect the information during transmission [1-3]. Cryptography is a basic information security measure that encodes messages to make them non-readable. However, conventional block cipher algorithms such as data encryption standard (DES), triple data encryption standard (Triple-DES), and international data encryption algorithm (IDEA) are unsuitable for image encryption because of the special storage characteristics of images [4,5]. Conventional image encryption algorithms are primarily based on the position permutation, such as Arnold transform, magic square matrix, and fractal curve scan [6]. In addition, permutation only algorithms are weak against known text attacks because they cannot change the grayscale of the pixel. Recently, the close relationship between chaos and cryptography has played an active role in data encryption [7-13] because of its significant features, including sensitivity to initial conditions, non-periodicity, and randomness. These features make the chaotic system an ideal tool for communication security [14].

There are no models accounting for all cardiac electrical activities because the human heart is an extremely complex biological system, which makes ECG signals vary from person to person. Compared with common biometric-based systems, the biometric feature of ECG signals is extremely difficult to duplicate. Therefore, an ECG signal could be a biometric tool for individual identification [15-22]. The theory of chaotic dynamical systems has used several features, including the correlation dimension, Lyapunov exponents, and approximate entropy, to describe system dynamics. These key features can explain ECG behavior for diagnostic purposes [23-25].

In ordinary telecommunication system, a specific frequency sine wave carrier is modulated and transmitted with certain message. A receiver system must be tuned to the particular frequency of the carrier sine wave to recover the message. Synchronization of chaotic systems provides a rich mechanism forming another application to personalize secure communications, which are noise-like and impossible to be guessed or predicted. The application of chaotic synchronization to secret communication was previously suggested by Pecora and Carroll [26,27]. There were many control techniques to synchronized chaotic systems, such as fuzzy control [28,29], delayed neural networks [30,31], impulsive control [32], and nonlinear error feedback control [33]. The chaotic signals can also be used to mask information or serve as the modulating waveforms [34-37].

In this research, we use Lyapunov exponent’s spectrum to extract the features of human ECG and use them as a secret key to encrypt images and text messages for secure data transmission. The proposed approach uses a chaotic cryptosystem based on the private feature of ECG signals and chaotic functions for information encryption. We combine the previously developed information encryption/decryption system [7-9] with chaotic synchronization circuits to facilitate private key masking. The chaotic synchronization system consists of a driver circuit and a response circuit. This concept of the private key transmission is based on chaotic signal masking and recovery. The transmitter adds a noise-like masking signal to the private key and the receiver removes it by using two synchronization circuits. This configuration forms an indecipherable scheme that is useful for personalized data transmission, in which extreme security is of primary concern.

To implement the proposed the secure communication system, a pair of Lorenz-based synchronized circuits are realized by operational amplifiers, resistors, capacitors and multipliers. The experimental results contain numerical and hardware verification which demonstrates applicability of the proposed design method.

Description of Method

Phase-space reconstruction

A phase space or diagram is a space in which each point describes two or more states of a system variable. The number of states that can be displayed in the phase space is called the phase space dimension or reconstruction dimension. The phase space in d dimensions displays a number of points Equation of the system, where each point is given by

Equation     (1)

Where n is the moment in time of the state variables, Equation with Δ denoting the sampling period and T is the period between two consecutive measurements for constructing the phase plot. The trajectory in d dimensional space is a set of k consecutive points and Equation, where Equationis the starting time (in terms of the number of sampling period) of observation.

Phase space reconstruction shows the state trajectories of Equation and Equation at the same time scale. Figure 1 shows the ECG signal from encryption person and the phase plot.


Figure 1: (a) ECG signal (b) phase plot taken from the encryption person.

Calculation of the lyapunov exponents

The Lyapunov exponent is an important feature of chaotic systems which quantifies sensitivity of the system to the initial conditions. Sensitivity to initial conditions means that a small change in the state of a system will grow at an exponential rate and eventually dominate the overall system behavior. Lyapunov exponents are defined as the long-term average exponential rates of divergence of the nearby states. If a system has at least one positive Lyapunov exponent, the system is chaotic. The larger the positive exponent, the more chaotic the system becomes. The exponents are generally arranged such that Equation, where Equation and Equation correspond to the most rapidly expanding and contracting principal axes, respectively. Therefore, Equation may be regarded as an estimator of the dominant chaotic behavior of the system. This study uses the largest Lyapunov exponent Equation as a measure of the ECG signal using the Wolf algorithm [38].

Logistic map

The logistic map is a polynomial mapping of the second order. Its chaotic behavior for different parameters was unveiled in [39]. The logistic map equation is given by the following equation and can be illustrated as in Figures 2 and 3:


Figure 2: Bifurcation diagram of the logistic map.


Figure 3: Property of logistic map with different bifurcation parameter with L0=0.1 (a) A=2.7 (b) A=3.1 (c) A=3.8.

Equation (2)

where n=0,1,2,…, Equation, A is a (positive) bifurcation parameter. Figure 2 shows the bifurcation diagram of the logistic map in the range Equation. When the vertical slice A=3.4, the iteration sequence splits into two periodic oscillations, which continues until A is slightly larger than 3.45. This is called periodic-doubling bifurcation in chaos theory.

Successive doublings of the period quickly occur in the range of 3.45<A<3.6. When A increases to 3.6, the periodicity becomes chaotic in the dark area. Many new periodic orbits emerge as A continuously grows from 3.45 to 4. Figure 3 shows the property of the logistic map with different parameter A. The results converge on the same value after several iterations without any chaotic behavior when A ∈ (0, 3), as shown in Figure 3(a). The system appears periodicity when A ∈ [3, 3.6), as illustrated in Figure 3(b). The chaotic random-like behavior when A ∈ [3.6, 4) is shown in Figure 3(c).

Henon map

The Henon map is a 2-D iterated map with chaotic solutions proposed by M. Henon [40]. The Henon equation can be written as follows

Equation (3)

where a and b are (positive) bifurcation parameters with b being a measure of the rate of area contraction. The Henon map is the most general 2-D quadratic map possessing the property that the contraction is independent of X and Y. Bounded solutions exist for the Henon map over the ranges of a and b, and some yield chaotic solutions. The demonstrative map was plotted for a = 1.4 and b=0.3. From which one can observe the chaotic behavior. Figure 4 shows the attractor of the Henon map on the X-Y space.


Figure 4: Attractors for the Henon map with a= 1.4 and b=0.3.

Lorenz system

The Lorenz system was originally developed as a simplified mathematical model of atmospheric by Edward Lorenz in 1963 [41], which is a 3-dimensional dynamical system described by

Equation      (4)

where x,y, and z are dynamic variables and s, r, and p are positive system parameters. The Lorenz system has a single positive Laypunov exponent, Equation while the other are Equation and Equation respectively. More detailed complex dynamics of the Lorenz system can be seen in [42]. For the typical values s=10, r=28, p=8/3 the time serials of the variables X, Y and Z are shown in Figure 5(a); the system has a 3-dimensional chaotic attractor as shown in Figure 5(b).


Figure 5: The Lorenz system (a) time profiles of the variables x, y and z (b) x-y-z phase trajectories.

Synchronization of two identical lorenz systems

Consider the following linear coupling of two identical Lorenz systems:

Equation      (5)

Equation      (6)

Where xi,yi,zi(i=1,2) are state variables, and Equation are coupling coefficients. The driver system consists of Equation. The response system is described by Equation. In particular, when Equation the coupled systems and are x-coupled. Similarly, the systems with Equation are y-coupled, and the systems are z-coupled when Equation. We can define the synchronization errors Equation as

Equation      (7)


Equation      (8)

From (5)-(8), the error dynamics is given by

Equation      (9)

The coefficient matrix of this system is

Equation      (10)


Equation      (11)

Let Equation be the minimum and maximum eigenvalues of matrix Equation respectively. According to the result in [43], we have the following lemma.

Lemma 1. The differential equation Equation has a solution X (t), then

Equation      (12)

It is easily proven by the following equation

Equation      (12)

Therefore, Equation such that Equation, then for any initial state Equation, one has Equation exponentially. Note that Equation is a symmetric matrix, thus all eigenvalues of Equation are real for all t. Let the eigenvalues be Equation with Equation. For the two identical Lorenz systems, if Equation, then the state trajectories of the two identical Lorenz systems will separate as time goes by and become unrelated. When Equation satisfy Equation, the two identical chaotic systems will travel at the same orbit simultaneously.

That is, the two identical Lorenz systems with linear coupling will be synchronized. On the contrary, if the coupling coefficient Equation, the two identical chaotic systems will operate independently at their own orbits, i.e., they are not synchronized.

Theorem 1: Given the coupling coefficients di>0, i = 1, 2, 3 if d1, d2, d3 satisfy the following condition


Where M = max {1+2d2, p+2d3} then for anyEquation, the two coupled Lorenz systems will be synchronized asEquation, provided that the orbit is close enough to the basin of attraction.

Pf: See Appendix for the details.

For s=10, r=28, p=8/3, the initial states x10=10, y10=25, z10=10, x20=20, y20=11, z20=5, and the coupling coefficients d1=1.2, d2=0.8, d3=2.1, the numerical simulation of the corresponding chaotic phase trajectories and state errors versus time are illustrated in Figures 6 and 7.


Figure 6: Chaotic phase trajectories for the two Lorenz systems (a) x1 − y1 plane (b) x2 − y2 plane (c) x1 − z1 plane (d) x2 − y2 plane (e) y1 − z1 plane (f) y2 − z2 plane.


Figure 7: Synchronization errors ex(t), ey(t), ez(t) for the two Lorenz systems.

System Design and Secure Data Transmission

ECG acquisition

Traditionally, ECG signals are recorded through more than three electrodes attached to the human body and manipulated in a complex data management system. This is not suitable for the current purpose. Instead of the way, this research proposes to use a convenient handheld device, developed by our research team, to collect physiological signals from only two leads [44], as shown in Figure 8(a). Each lead is attached to an electrode. The required signals are acquired when two electrodes are simultaneously touched. Figure 8(b) shows the device’s structure, which comprises two sensing electrodes. The two active sensor electrodes are connected to the pulse measurement device and the pulse measurement device comprises a negative feedback difference common mode signal and a buffer/balanced circuit for providing a circuit with a self-common point electrode potential. The first bio-potential signal is detected by the first active sensor electrode and the common point electrode. The second bio-potential signal, possesses the same magnitude, but with a different phase as the first bio-potential signal detected by the second active sensor electrode and the common point electrode. The associative processing unit receives the signal which is processed by an analog filter/amplifier unit with the operational frequency from 0.5 to 40Hz.


Figure 8: Self-developed handheld ECG acquisition device (a) measurement device (b) structure of the patented portable instrument ET-600.

The self-developed ECG management device accompanied with a digital signal processing unit (NI USB6211) and the ECG data acquisition in the LabVIEW environment. The signals measured are then used to reconstruct ECG signals and extract the features by our feature extraction program.

Secure data transmission

The structure of the proposed secure information transmission system based on the two Lorenz circuits is proposed in Figure 9. The encryption person’s ECG data are collected and saved as a private key. The processed secret information is transmitted via the proposed chaotic encryption system, which is activated by the private key. To decrypt the secret information, the recipient should possess both of the ECG plot and the chaotic decryption algorithm. In addition, the ECG extraction program must be used to extract the features as the initial key for the proposed chaotic decryption algorithms.


Figure 9: Structure of the secure information transmission based on the chaotic masking Lorenz circuits.

Implementation of synchronization circuit for secure communication

An electric circuit is designed to realize the Lorenz-based synchronized circuit for secure data communication, as illustrated in Figure 10. The voltages at the nodes labeled x1, y1 and z1 correspond to the states of and x2, y2 and z2 to the states of, respectively. The operational amplifier LF412 and associated circuitry perform the basic operations of addition, subtraction, and integration. The nonlinear terms in the system and are implemented with the analog multiplier AD633. The component list of the Lorenz-based chaotic masking communication circuit is given in Table 1. The system parameters s, r, and p can be implemented by resistors R2,R3,R5 and R7 as follows

Device Description Value Tolerance
U1~U5 Op Amp (LF412)    
R1,R4,R8~R18,R21,R23 1/4W Resistor 10 KΩ ±0.05%
R2,R19 1/4W Resistor 374 KΩ ±0.05%
R3,R20 1/4W Resistor 35.7 KΩ ±0.05%
R5,R22 1/4W Resistor 1 MΩ ±0.05%
R6,R7,R23,R24 1/4W Resistor 100 KΩ ±0.05%
C1~C6 Capacitor 0.1μF ±0.1%
M1~M4 Analog multiplier    

Table 1: Components of the chaotic masking communication circuits.


Figure 10: Lorenz-based chaotic masking communication circuit.

Equation (13)

The private key ECG signal was masked by chaotic signal of the driver system and is presented as ECG_masking, which is sent out through a public channel. On the other side, the ECG_masking signal is received and the private key is recovered by synchronized chaotic signal of the response system.

Experimental results for synchronization and secure communication are given to demonstrate the performance of the proposed scheme. Figure 11 shows the Lorenz-based circuit’s attractor projected onto the x-y plane, x-z plane, and y-z plane, respectively. Figure 12 shows the phase portrait in x1-x2 plane illustrating synchronization of the Lorenz-based circuits. Figure 13(a) shows practical implementation of the proposed secure data communication system. Figure 13(b) depicts the scrambled private key ECG signal, the transmitted chaotic signal ECG_masking, and the recovered private key ECG_signal in the response system.


Figure 11: Phase portraits of the Lorenz oscillator (a) x-y plane (b) x-z plane (c) y-z plane.


Figure 12: Synchronization of the driver signal x1 and response signal x2 (a) experimental result (b) numerical plot.


Figure 13: Practical implementation of the proposed secure communication system (a) the testing scene (b) Channel 1: private key ECG_signal, Channel 2: transmitted chaotic signal ECG_masking, Channel 3: recovered private key ECG_signal in the response system.

Encryption/decryption algorithms

We now explain the procedure of the proposed information encryption/decryption system using ECG signals with a chaotic logistic map for text encryption and chaotic Henon map for image encryption. Figure 14 presents the block diagram of the information encryption/ decryption scheme. The chaotic functions depicted in Section 2 are employed in the information encryption/decryption algorithm using the logistic map, Henon map, ECG extraction program, and Wolf algorithm. The ECG extraction program extracts the individual features of the users as the initial key (λ1) for the logistic map and Henon map, and subsequently uses these chaotic functions to generate an unpredictable random orbit. The unpredictable random orbit is used as a private encryption key serial to replace pixel values, images coordinates, and ASCII codes. Conversely, the chaotic decryption algorithm fulfills the inverse operation.


Figure 14: Block diagram of the proposed information encryption/decryption scheme.

Figure 15 shows the flow chart of the chaotic encryption algorithm for the document with blended Figure and text. First, text and images of the encrypted document are separated. Set the encrypted grayscale image to be S, whose size is M×N and the pixel related to the coordinates (i, j) is denoted I(i,j), 1≤i≤M and 1≤j≤N. The new coordinates of the pixel I(i,j), after replacement, denoted (i’, j’) with I’(i,j) representing the replaced I(i,j). To enhance undetectability, the new coordinates and the pixel I’(i’, j’) are produced using the chaotic Henon map . The format of encrypted text is transformed into Text file (T.txt). We obtain the strings with the line terminators and convert characters into ASCII codes until the end of the file (T.text), and then the ciphertext (T_mask. text) is converted into ASCII codes by using the chaotic logistic map and the converted ASCII codes into characters accordingly.


Figure 15: Flow chart of the chaotic encryption algorithm.

Experimental Results

Table 2 lists key parameters of logistic map and Henon map for testing the encryption and decryption algorithms.

Items Value Description
n 1500 number of iterations
λ1(X0,Y0,L0) 0.01573 initial value formed by λ1 of the encryption person
a 1.4 system parameter of Henon map
b 0.3 system parameter of Henon map
A 4 system parameter of logistic map

Table 2: Parameters of the chaotic functions for encryption and decryption.

Case 1: Figureure encryption and decryption

The physiological signals of the users were collected from the selfmade portable instrument accompanied with a digital signal processing unit and analyzed in the LabView environment. For a qualified encryption system, the key serial should be able to Figureht against the brute-force attack. It should also be sensitive to the private key. A variety of simulation studies were conducted to test robustness of the proposed encryption system. Table 3 lists three representative images supported in the MATLAB image processing toolbox. Table 4 reveals that when the initial values changed to λ1 for the non-encryption person, the decryption scheme generated a completely different decrypted result. Figures 16-18 display simulation results and histograms for three kinds of images. The image histogram illustrates how pixels in an image are distributed by graphing the number of pixels at the intensity level of color. The results of histogram analysis show an extremely different content in the original and encrypted images.

Filename Size Color type
Liftingbody.png 512 × 512 8 bits grayscale
Canoe.tif 346 × 207 8 bits indexed
pears.png 732 × 486 24 bits RGB

Table 3: Different kinds of images.

Items Value Description
n 1500 number of iterations
λ1(X0,Y0,L0) 0.01487 initial value formed by λ1  of the non-encryption person
a 1.4 system parameter Henon map
b 0.3 system parameter Henon map
A 4 system parameter of Logistic map

Table 4: Parameters of chaotic functions for decryption.


Figure 16: Encryption and decryption for Case 1 (a) original image (b) histograms of original image (c) encrypted image (d) histograms of encrypted image (e) incorrect decrypted image (f) correct decrypted image.


Figure 17: Encryption and decryption for Case 2 (a) original image (b) histograms of the original image (c) encrypted image (d) histograms of the encrypted image (e) incorrect decrypted image (f) correct decrypted image.


Figure 18: Encryption and decryption for Case 3 (a) original image (b)(c)(d) the histograms of red, green and blue channels of the original image respectively (e) encrypted image (f)(g)(h) histograms of red, green and blue colors of the encrypted image respectively (i) incorrect decryption (j)correct decryption.

Case 2: Document blended with figures and text

We take Page 2 of this paper as the object of experiment, which contains text and Figures to be encrypted. We transform the formats of text and Figures into Text (.txt) file and Image (.png) file simultaneously. Figures 19-21 show the demonstration that it incorporates the text encryption algorithm with Logistic map and the image encryption algorithm with Henon map. The encrypted plaintext is obviously nonreadable, as shown in Figure 19. To compare the decrypted result of the chaotic encryption system, we chose an incorrect key and a correct one to activate the decryption algorithm. Figures 20 and 21 show the results of decryption indicating that the proposed encryption system is quite sensitive to the key chosen and thus is appropriate for secure communication.


Figure 19: Ciphertext of Page 2 in this paper.


Figure 20: Wrong decrypted plaintext.


Figure 21: Resulting (correct) decrypted plain text.


This paper has presented theoretical and experimental studies on chaos synchronization and masking of data communication using electronic devices that are described by the Lorenz equations, and showed that the private key created by ECG signals can be recovered from a chaotic carrier using a response system whose chaotic dynamics is synchronized with a driver system. The use of ECG signal’s features from nonlinear dynamic modeling for information encryption is investigated. A personalized encryption scheme based on the individual-specific features of ECG as a personal key is proposed. To decrypt the encrypted message that one needs a specific ECG message accompanied with our proposed encryption algorithm. The blended functionality yields a doubly encrypted scheme, which is extremely hard to be decrypted.

Unlike traditional cryptographic algorithms, the presented approach features an infinite key space. This makes it an ideal key generator for encryption algorithms. Experimental results have proved feasibility and effectiveness of the proposed design. Moreover, the encryption time shows its potential applicability in real-time applications.


This research was sponsored by Ministry of Science and Technology, Taiwan, ROC under the grant 104-2622-E-005-011.


Select your language of interest to view the total content in your interested language
Post your comment

Share This Article

Relevant Topics

Article Usage

  • Total views: 14306
  • [From(publication date):
    December-2015 - Jul 22, 2018]
  • Breakdown by view type
  • HTML page views : 10198
  • PDF downloads : 4108

Post your comment

captcha   Reload  Can't read the image? click here to refresh

Peer Reviewed Journals
Make the best use of Scientific Research and information from our 700 + peer reviewed, Open Access Journals
International Conferences 2018-19
Meet Inspiring Speakers and Experts at our 3000+ Global Annual Meetings

Contact Us

Agri & Aquaculture Journals

Dr. Krish

[email protected]

+1-702-714-7001Extn: 9040

Biochemistry Journals

Datta A

[email protected]

1-702-714-7001Extn: 9037

Business & Management Journals


[email protected]

1-702-714-7001Extn: 9042

Chemistry Journals

Gabriel Shaw

[email protected]

1-702-714-7001Extn: 9040

Clinical Journals

Datta A

[email protected]

1-702-714-7001Extn: 9037

Engineering Journals

James Franklin

[email protected]

1-702-714-7001Extn: 9042

Food & Nutrition Journals

Katie Wilson

[email protected]

1-702-714-7001Extn: 9042

General Science

Andrea Jason

[email protected]

1-702-714-7001Extn: 9043

Genetics & Molecular Biology Journals

Anna Melissa

[email protected]

1-702-714-7001Extn: 9006

Immunology & Microbiology Journals

David Gorantl

[email protected]

1-702-714-7001Extn: 9014

Materials Science Journals

Rachle Green

[email protected]

1-702-714-7001Extn: 9039

Nursing & Health Care Journals

Stephanie Skinner

[email protected]

1-702-714-7001Extn: 9039

Medical Journals

Nimmi Anna

[email protected]

1-702-714-7001Extn: 9038

Neuroscience & Psychology Journals

Nathan T

[email protected]

1-702-714-7001Extn: 9041

Pharmaceutical Sciences Journals

Ann Jose

[email protected]

1-702-714-7001Extn: 9007

Social & Political Science Journals

Steve Harry

[email protected]

1-702-714-7001Extn: 9042

© 2008- 2018 OMICS International - Open Access Publisher. Best viewed in Mozilla Firefox | Google Chrome | Above IE 7.0 version
Leave Your Message 24x7