View full-text article in PMC Sensors (Basel). 2020 Oct 29;20(21):6158. doi: 10.3390/s20216158 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 11:Process of signing the message. Input: TheMessageMsent Output: Signaturepairs(r,s) 1 Sender:calculatee=HASH(Msent); 2 Sender:calculatez=leftmostpbitsofe; 3 Sender:selectrandomvaluek; 4 Sender:calculate(x1,y1)=k×G; 5 Sender:calculater=x1modpwherer≠0; 6 Sender:forr=0goto3; 7 Sender:calculates=(z+ds∗r)k−1fors=0goto3; 8 Sender:(r,s)←ciphertextsignature