{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,1]],"date-time":"2025-11-01T13:50:19Z","timestamp":1762005019239,"version":"build-2065373602"},"reference-count":43,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2018,8,21]],"date-time":"2018-08-21T00:00:00Z","timestamp":1534809600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100012818","name":"Comunidad de Madrid","doi-asserted-by":"publisher","award":["S2013\/ICE-3095"],"award-info":[{"award-number":["S2013\/ICE-3095"]}],"id":[{"id":"10.13039\/100012818","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100003329","name":"Ministerio de Econom\u00eda y Competitividad","doi-asserted-by":"publisher","award":["TIN2016-79095-C2-2-R"],"award-info":[{"award-number":["TIN2016-79095-C2-2-R"]}],"id":[{"id":"10.13039\/501100003329","id-type":"DOI","asserted-by":"publisher"}]},{"name":"HTC, Abu Dhabi","award":["Nr.~103104"],"award-info":[{"award-number":["Nr.~103104"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Wireless Sensor Networks (WSNs) are a promising technology with applications in many areas such as environment monitoring, agriculture, the military field or health-care, to name but a few. Unfortunately, the wireless connectivity of the sensors opens doors to many security threats, and therefore, cryptographic solutions must be included on-board these devices and preferably in their design phase. In this vein, Random Number Generators (RNGs) play a critical role in security solutions such as authentication protocols or key-generation algorithms. In this article is proposed an avant-garde proposal based on the cardiac signal generator we carry with us (our heart), which can be recorded with medical or even low-cost sensors with wireless connectivity. In particular, for the extraction of random bits, a multi-level decomposition has been performed by wavelet analysis. The proposal has been tested with one of the largest and most publicly available datasets of electrocardiogram signals (202 subjects and 24 h of recording time). Regarding the assessment, the proposed True Random Number Generator (TRNG) has been tested with the most demanding batteries of statistical tests (ENT, DIEHARDERand NIST), and this has been completed with a bias, distinctiveness and performance analysis. From the analysis conducted, it can be concluded that the output stream of our proposed TRNG behaves as a random variable and is suitable for securing WSNs.<\/jats:p>","DOI":"10.3390\/s18092747","type":"journal-article","created":{"date-parts":[[2018,8,21]],"date-time":"2018-08-21T11:12:42Z","timestamp":1534849962000},"page":"2747","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":19,"title":["ECG-RNG: A Random Number Generator Based on ECG Signals and Suitable for Securing Wireless Sensor Networks"],"prefix":"10.3390","volume":"18","author":[{"given":"Carmen","family":"Camara","sequence":"first","affiliation":[{"name":"Department of Computer Science, University Carlos III of Madrid, 28911 Legan\u00e9s, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6943-0760","authenticated-orcid":false,"given":"Pedro","family":"Peris-Lopez","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University Carlos III of Madrid, 28911 Legan\u00e9s, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8720-406X","authenticated-orcid":false,"given":"Honorio","family":"Mart\u00edn","sequence":"additional","affiliation":[{"name":"Department of Electronic Technology, University Carlos III of Madrid, 28911 Legan\u00e9s, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1407-652X","authenticated-orcid":false,"given":"Mu\u2019awya","family":"Aldalaien","sequence":"additional","affiliation":[{"name":"Higher Colleges of Technology, Abu Dhabi Women\u2019s College, Abu Dhabi 41012, United Arab Emirates"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2018,8,21]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"395","DOI":"10.1016\/j.future.2017.11.022","article-title":"IoT security: Review, blockchain solutions, and open challenges","volume":"82","author":"Khan","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Shakhov, V., and Koo, I. (2018). Depletion-of-Battery Attack: Specificity, Modelling and Analysis. Sensors, 18.","DOI":"10.3390\/s18061849"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"272","DOI":"10.1016\/j.jbi.2015.04.007","article-title":"Security and privacy issues in implantable medical devices: A comprehensive survey","volume":"55","author":"Camara","year":"2015","journal-title":"J. Biomed. Inform."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"403","DOI":"10.1080\/17434440.2018.1483235","article-title":"Security of implantable medical devices with wireless connections: The dangers of cyber-attacks","volume":"15","author":"Pycroft","year":"2018","journal-title":"Expert Rev. Med. Dev."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Marin, E., Singel\u00e9e, D., Garcia, F.D., Chothia, T., Willems, R., and Preneel, B. (2016, January 5\u20138). On the (in)Security of the Latest Generation Implantable Cardiac Defibrillators and How to Secure Them. Proceedings of the 32nd Annual Conference on Computer Security Applications (ACSAC \u201916), Los Angeles, CA, USA.","DOI":"10.1145\/2991079.2991094"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"7234","DOI":"10.1109\/ACCESS.2017.2772294","article-title":"Enhancing Trust Management for Wireless Intrusion Detection via Traffic Sampling in the Era of Big Data","volume":"6","author":"Meng","year":"2018","journal-title":"IEEE Access"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Romaissa, B., and Eddine, B.D. (2017, January 14\u201316). In-Body Routing Protocols for Wireless Body Sensor Networks. Proceedings of the 10th International Conference on Developments in eSystems Engineering (DeSE), Paris, France.","DOI":"10.1109\/DeSE.2017.17"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Peter, S., Pratap Reddy, B., Momtaz, F., and Givargis, T. (2016). Design of Secure ECG-Based Biometric Authentication in Body Area Sensor Networks. Sensors, 16.","DOI":"10.3390\/s16040570"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"363","DOI":"10.1109\/TDSC.2015.2469655","article-title":"Dependable Structural Health Monitoring Using Wireless Sensor Networks","volume":"14","author":"Bhuiyan","year":"2017","journal-title":"IEEE Trans. Dependable Secure Comput."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"1243","DOI":"10.1016\/j.procs.2018.05.040","article-title":"Privacy Preservation in WSN for Healthcare Application","volume":"132","author":"Sharma","year":"2018","journal-title":"Procedia Comput. Sci."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Osanaiye, O., Alfa, A.S., and Hancke, G.P. (2018). A Statistical Approach to Detect Jamming Attacks in Wireless Sensor Networks. Sensors, 18.","DOI":"10.3390\/s18061691"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1007\/s40815-015-0009-4","article-title":"An Intelligent Technique to Detect Jamming Attack in Wireless Sensor Networks (WSNs)","volume":"17","author":"Sasikala","year":"2015","journal-title":"Int. J. Fuzzy Syst."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1016\/j.measurement.2017.05.034","article-title":"A hybrid intrusion detection system for virtual jamming attacks on wireless networks","volume":"109","author":"Santoro","year":"2017","journal-title":"Measurement"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"26251","DOI":"10.3390\/s151026251","article-title":"PUFKEY: A High-Security and High-Throughput Hardware True Random Number Generator for Sensor Networks","volume":"15","author":"Li","year":"2015","journal-title":"Sensors"},{"key":"ref_15","unstructured":"Maksutov, A.A., Goryushkin, P.N., Gerasimov, A.A., and Orlov, A.A. (February, January 29). PRNG assessment tests based on neural networks. Proceedings of the IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), Moscow, Russia."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Saleem, H., Afzal, S., and Ahmed, N. (2018, January 9\u201313). Robust entropy harvester for analogue noise sources in TRNG. Proceedings of the 15th International Bhurban Conference on Applied Sciences and Technology (IBCAST), Islamabad, Pakistan.","DOI":"10.1109\/IBCAST.2018.8312256"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/s11227-013-1021-9","article-title":"Wireless sensor networks: A survey on recent developments and potential synergies","volume":"68","author":"Rawat","year":"2014","journal-title":"J. Supercomput."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"2292","DOI":"10.1016\/j.comnet.2008.04.002","article-title":"Wireless sensor network survey","volume":"52","author":"Yick","year":"2008","journal-title":"Comput. Netw."},{"key":"ref_19","first-page":"62","article-title":"A biometric security scheme for wireless body area networks","volume":"41","author":"Dodangeh","year":"2018","journal-title":"J. Inf. Secur. Appl."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"23","DOI":"10.1016\/j.adhoc.2017.11.006","article-title":"Survey on security in intra-body area network communication","volume":"70","author":"Kompara","year":"2018","journal-title":"Ad Hoc Netw."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.cam.2014.02.028","article-title":"Are electroencephalogram (EEG) signals pseudo-random number generators?","volume":"268","author":"Chen","year":"2014","journal-title":"J. Comput. Appl. Math."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Nguyen, D., Tran, D., Ma, W., and Nguyen, K. (2017). EEG-Based Random Number Generators. Network and System Security (NSS), Springer.","DOI":"10.1007\/978-3-319-64701-2_18"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"216","DOI":"10.1016\/j.bspc.2018.03.003","article-title":"A survey on ECG analysis","volume":"43","author":"Berkaya","year":"2018","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"15067","DOI":"10.3390\/s150715067","article-title":"An Efficient Biometric-Based Algorithm Using Heart Rate Variability for Securing Body Sensor Networks","volume":"15","author":"Pirbhulal","year":"2015","journal-title":"Sensors"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"138","DOI":"10.1016\/j.comnet.2018.05.006","article-title":"Anonymous hybrid mutual authentication and key agreement scheme for wireless body area network","volume":"140","author":"Koya","year":"2018","journal-title":"Comput. Netw."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Rostami, M., Juels, A., and Koushanfar, F. (2013, January 4\u20138). Heart-to-heart (H2H): Authentication for implanted medical devices. Proceedings of the ACM SIGSAC Conference on Computer & Communications Security (CCS \u201913), Berlin, Germany.","DOI":"10.1145\/2508859.2516658"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"65","DOI":"10.1016\/j.pmcj.2016.08.004","article-title":"Deriving cryptographic keys from physiological signals","volume":"39","author":"Altop","year":"2017","journal-title":"Pervasive Mob. Comput."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Moosavi, S.R., Nigussie, E., Virtanen, S., and Isoaho, J. (2017, January 8\u201311). Cryptographic key generation using ECG signal. Proceedings of the 14th IEEE Annual Consumer Communications Networking Conference (CCNC), Las Vegas, NV, USA.","DOI":"10.1109\/CCNC.2017.7983280"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"78","DOI":"10.1186\/s12938-015-0072-y","article-title":"Individual identification via electrocardiogram analysis","volume":"14","author":"Fratini","year":"2015","journal-title":"Biomed. Eng. Online"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1812","DOI":"10.1109\/TIFS.2012.2215324","article-title":"ECG Biometric Recognition: A Comparative Analysis","volume":"7","author":"Odinaka","year":"2012","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"772","DOI":"10.1109\/TITB.2008.926434","article-title":"Using the Timing Information of Heartbeats as an Entity Identifier to Secure Body Sensor Network","volume":"12","author":"Bao","year":"2008","journal-title":"IEEE Trans. Inf. Technol. Biomed."},{"key":"ref_32","unstructured":"Walker, J. (2018, August 15). Randomness Battery. Available online: http:\/\/www.fourmilab.ch\/random\/."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Ortiz-Martin, L., Picazo-Sanchez, P., Peris-Lopez, P., and Tapiador, J. (2018). Heartbeats Do Not Make Good Pseudo-Random Number Generators: An Analysis of the Randomness of Inter-Pulse Intervals. Entropy, 20.","DOI":"10.3390\/e20020094"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Pirbhulal, S., Zhang, H., Wu, W., Mukhopadhyay, S.C., and Zhang, Y.T. (2018). Heart-Beats Based Biometric Random Binary Sequences Generation to Secure Wireless Body Sensor Networks. IEEE Trans. Biomed. Eng.","DOI":"10.1109\/TBME.2018.2815155"},{"key":"ref_35","unstructured":"HeartIn (2018, August 15). Smart T-Shirt with ECG. Available online: https:\/\/www.heartin.net\/bbb.html."},{"key":"ref_36","unstructured":"Alves, A.P., Silva, H., Lourenco, A., and Fred, A.L. (2013, January 11\u201314). BITalino: A biosignal acquisition system based on Arduino. Proceedings of the 6th Conference on Biomedical Electronics and Devices (BIODEVICES), Barcelona, Spain."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Akansu, A.N., and Haddad, R.A. (2001). Chapter 6\u2014Wavelet Transform. Multiresolution Signal Decomposition, Academic Press. [2nd ed.].","DOI":"10.1016\/B978-012047141-6\/50006-9"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Bassham, L.E., Rukhin, A.L., Soto, J., Nechvatal, J.R., Smid, M.E., Barker, E.B., Leigh, S.D., Levenson, M., Vangel, M., and Banks, D.L. (2010). A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications.","DOI":"10.6028\/NIST.SP.800-22r1a"},{"key":"ref_39","unstructured":"Brown, R.G. (2018, August 15). Dieharder: A Random Number Test Suite v3.31.1. Available online: https:\/\/webhome.phy.duke.edu\/~rgb\/General\/dieharder.php."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Calleja, A., Peris-Lopez, P., and Tapiador, J.E. (2015). Electrical Heart Signals can be Monitored from the Moon: Security Implications for IPI-Based Protocols. Information Security Theory and Practice, Springer International Publishing.","DOI":"10.1007\/978-3-319-24018-3_3"},{"key":"ref_41","unstructured":"Anita, P., and Talele, K.T. (2011). ECG Feature Extraction Using Wavelet Based Derivative Approach. Technology Systems and Management, Springer."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Jung, W.H., and Lee, S.G. (2017). ECG Identification Based on Non-Fiducial Feature Extraction Using Window Removal Method. Appl. Sci., 7.","DOI":"10.3390\/app7111205"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1016\/j.procs.2018.05.054","article-title":"Efficient wavelet families for ECG classification using neural classifiers","volume":"132","author":"Singh","year":"2018","journal-title":"Procedia Comput. Sci."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/18\/9\/2747\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T15:20:06Z","timestamp":1760196006000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/18\/9\/2747"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,8,21]]},"references-count":43,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2018,9]]}},"alternative-id":["s18092747"],"URL":"https:\/\/doi.org\/10.3390\/s18092747","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2018,8,21]]}}}