{"id":10819,"date":"2021-10-01T10:47:23","date_gmt":"2021-10-01T05:17:23","guid":{"rendered":"https:\/\/primafelicitas.co.in\/?p=10819"},"modified":"2026-02-04T04:45:48","modified_gmt":"2026-02-04T04:45:48","slug":"introduction-to-zero-knowledge-proofs","status":"publish","type":"post","link":"https:\/\/primafelicitasdemo.com\/prima\/security\/introduction-to-zero-knowledge-proofs\/","title":{"rendered":"Introduction to Zero-Knowledge Proofs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" style=\"font-size:24px\">Introduction to Zero-Knowledge Proofs<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Since 2008, Blockchain\u2019s platform and applications design, development, and deployment have been upgrading constantly. One recent example among others is the deployment of Zero-Knowledge Proofs, referred to as ZKP in short. It might come as a surprise for someone who isn\u2019t from the technology sector that the zero-knowledge protocol\/zero-knowledge proof was defined by MIT Researchers in 1988. But it\u2019s only now after rigorous and thorough research, the proposals are getting implemented on the ground in the 21<sup>st<\/sup> Century. The ZKP assists extra privacy on public blockchains. Zero-knowledge proofs can be perceived as a subset of cryptography. This is done by including 3 pre-requisites namely, completeness, soundness, and zero-knowledge. In \u201ccompleteness\u201d, assuming that a statement is correct and both parties (verifier, prover) follow the same protocol, then the verifier without much friction gets convinced by the prover. The second pre-requisite \u201csoundness\u201d, tells that assuming that the statement is incorrect, the verifier will almost surely not get persuaded. In the last pre-requisite \u201czero-knowledge\u201d, assuming that the statement is correct, the verifier will not get to know anything more than the fact that the statement is correct. In crux, you could say that zero-knowledge proof allows a prover to persuade by the verifier, that the prover knows some facts\/secrets\/proof of theorem, etc without disclosing to the verifier any information. The following piece goes through this (zero-knowledge proof) in some detail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Security has been one of the key issues whether in the 19<sup>th<\/sup> century, 20<sup>th<\/sup> century, or in the present 21<sup>st<\/sup> century. The modes, mediums, and complexities have changed. ZKP(s) can be seen as the most recent addition to the broader picture. As blockchain at the core is decentralized and functions on multiple open-sourced protocols, ZKP could be categorized under the Proof Of Identity (POI) consensus algorithm. In the earlier days, identification used to take place via a secret key and a password\/pin. But as the mechanism was too easy to break into, a mechanism like ZKP got introduced. Now let\u2019s get a little deep into zero-knowledge proof. They can be sub-divided into two types, namely, interactive and non-interactive ZKP\u2019s. in a non-interactive ZK proof, the verifier gets replaced via a hash function which gets computed over the whole set of commitments. If the hash function is perceived as an ad-hoc oracle, then the prover would not be able to predict its output before utilizing it, i.e. prior showcasing the commitments. That\u2019s where the security aspect comes into the picture. In interactive ZKP, the entire process of prover and verifier as mentioned above gets implemented. Let\u2019s now look at some of the potential practical short-term as well as long-term use cases.<\/p>\n\n\n\n<figure class=\"wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"600\" data-id=\"10822\" src=\"https:\/\/primafelicitasdemo.com\/prima\/wp-content\/uploads\/2021\/10\/verify-insurance-claim.png\" alt=\"\" class=\"wp-image-10822\"\/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px\">Practical use cases:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One such illustration where the concept could be implemented is mentioned in <a href=\"https:\/\/sci-hub.se\/10.1109\/COMSNETS48256.2020.9027413\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\"><strong>this piece of research<\/strong><\/a>. Here, a national healthcare framework is designed and deployed imbibing inter-planetary-file-system (IPFS), smart contracts for storing as well for accessing electronic health records (EHR) and related medical documents. The proposed prototype focuses on utilizing a proxy cloud server administering re-encryption to delegate access to service providers for reading and writing data on the patient\u2019s behalf. For verifying a patient\u2019s past medical history, zero-knowledge succinct non-interactive arguments of knowledge (ZkSnarks) is being used. Besides that, a six-digit pin code or passphrase is used alongside a one-way hashing function for authenticating access to medical information from the blockchain\u2019s smart contract(s). Figure 1 and 2 represents the backend working of beneficiary registration and key generation, and EHR\u2019s generations and access for verifying insurance\u2019s claim.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another practical use case is <a href=\"https:\/\/sci-hub.se\/10.1109\/ACCESS.2020.3028189\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\"><strong>in the transport sector<\/strong><\/a> (specifically in managing vehicular traffic). The focal point is on the real-time traffic management via utilization of permissioned-modular blockchain network, non-interactive ZKP and deployed on hyper ledger fabric platform as well as hyperledger Ursa cryptographic library. The prototype is broadly built on three interworking modules, namely, blockchain network, reverse geocoding, and gateway validation. Figure 5 showcases a pretty straightforward workflow between two blockchain-based vehicular networks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One factor which indicates that the up-gradation in blockchain\u2019s algorithm is the intermixing of ZKP, Stark, and Snark. Just like a footwear company like Reebok\/Nike\/Adidas etc have multiple verticals like Shoes, Slippers, Sandals, Boots, and clothing (t-shirt, socks, etc), similarly, combining similar decentralized platforms and applications lead to the development of a much higher-productive result. All three concepts can be categorized under \u201cCryptographic proofs\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see from the above illustrations and similarities between decentralized applications which are underuse and those under development, the future of blockchain and diverse consensus algorithms looks bright and hopeful (from the future\u2019s perspective). To know more about the latest updates in the field of blockchain, cryptocurrencies, and decentralized architecture\u2019s visit <a href=\"https:\/\/www.primafelicitas.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Primafelicitas<\/a> to enrich yourself with information which isn\u2019t easy to get.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><a href=\"https:\/\/www.primafelicitas.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Contact us<\/strong><\/a> now if you are interested in <strong>Blockchain \/ NFT Services<\/strong> etc, <a href=\"https:\/\/www.primafelicitas.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>PrimaFelicitas<\/strong><\/a> can bring you the best results.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Introduction to Zero-Knowledge Proofs Since 2008, Blockchain\u2019s platform and applications design, development, and deployment have been upgrading constantly. One recent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12314,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[87,79],"tags":[162],"class_list":["post-10819","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain","category-security","tag-security"],"_links":{"self":[{"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/posts\/10819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/comments?post=10819"}],"version-history":[{"count":2,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/posts\/10819\/revisions"}],"predecessor-version":[{"id":59049,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/posts\/10819\/revisions\/59049"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/media\/12314"}],"wp:attachment":[{"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/media?parent=10819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/categories?post=10819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/primafelicitasdemo.com\/prima\/wp-json\/wp\/v2\/tags?post=10819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}