<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Quadrans - Medium]]></title>
        <description><![CDATA[Quadrans is an open-source, public, decentralised blockchain infrastructure for Smart-Contracts and dApps. - Medium]]></description>
        <link>https://medium.com/quadrans?source=rss----fc0e90cc1b2b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Quadrans - Medium</title>
            <link>https://medium.com/quadrans?source=rss----fc0e90cc1b2b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:01:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/quadrans" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Quadrans and Truebit revolutionizing Textile industry]]></title>
            <link>https://medium.com/quadrans/quadrans-and-truebit-revolutionizing-textile-industry-3aecd7a74a86?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/3aecd7a74a86</guid>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[fashion]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Davide Costa]]></dc:creator>
            <pubDate>Wed, 08 May 2024 16:41:19 GMT</pubDate>
            <atom:updated>2024-05-08T16:41:18.948Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJNFmvqx9Q6CzubhiQj5Mw.png" /></figure><h3><strong>The Project</strong></h3><p>The <a href="https://www.trick-project.eu/">TRICK project</a>, supported by the EU’s Horizon 2020 program, aims to promote sustainable practices in Europe’s textile, clothing, and food industries through a digital platform.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQRDN5hpgF34%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQRDN5hpgF34&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQRDN5hpgF34%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c191c8462438ce7fc157c64e4ad273e/href">https://medium.com/media/4c191c8462438ce7fc157c64e4ad273e/href</a></iframe><ul><li>The platform leverages blockchain technology for data security and facilitates the transition to circular business models.</li><li>The project also focuses on establishing legal and technical frameworks to ensure compliance with laws like GDPR and standardize sustainability practices.</li><li>There is a significant emphasis on involving policymakers and providing recommendations to support circular economy policies.</li><li>TRICK seeks to engage a variety of stakeholders, including SMEs and consumers, to enhance the adoption and impact of sustainable practices.</li></ul><p>Within the architecture of the TRICK platform, the Quadrans Foundation with the continued support of <a href="https://truebit.io/">Truebit</a> Team has developed a unique tool to enable verified textile traceability information to be provided to the end consumer.</p><h3><strong>Why Quadrans?</strong></h3><p>Quadrans, with its global accessibility, emerged to serve the intricate<strong> </strong>needs of industries and supply chains<strong>. </strong>It offers automated processes through traceability and smart contracts, thereby lowering costs and bolstering security and enables seamless collaboration and cross-border transactions<strong>.</strong></p><p>Quadrans is an open-source Blockchain ecosystem derived from Ethereum, retaining elements like the Ethereum Virtual Machine (EVM). The platform has evolved to integrate unique features while maintaining interoperability with Ethereum, supporting seamless transitions of existing solutions. Looking ahead, Quadrans <a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf">plans</a> to implement a hybrid consensus protocol combining Proof of Work (PoW) and Proof of Stake (PoS) to enhance security and efficiency.</p><blockquote><strong><em>Ultimately Quadrans </em></strong><a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf"><strong><em>plans</em></strong></a><strong><em> with the next updates to integrate post-quantum digital signatures and in parallel to create a quantum cryptography layer placing itself already in an advanced security position even after the advent of quantum computers.</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-K0dhCRdcOvAgeVvVgGwzQ.jpeg" /><figcaption>Photo taken at 2018 ASCE (Credit: Graham Carlow for IBM)</figcaption></figure><p>For those reasons Quadrans was chosen by the TRICK consortium as the reference public blockchain and data plane where information regarding production processes to consumers and stakeholders can be saved.</p><h3><strong>How Quadrans?</strong></h3><p><strong>The Identity-Manager Smart Contract</strong> provides a decentralized mechanism on the blockchain for managing and verifying the associations between user identifiers and their corresponding public addresses. It supports functions like adding or editing identities and retrieving associated public addresses or user IDs. It ensures controlled access by allowing only a designated <em>IdentityManager</em> address to modify identities, enhancing decentralization by eliminating reliance on a centralized database for storing these associations.</p><p><strong>The Portability Smart-Contract</strong> on the public layer stores all public documents for each instance of the portability process. The smart contract is designed to allow write access solely to its owner, enhancing security by ensuring that only the owner can add data, and upon completion, ownership can be relinquished to a null address to seal the data permanently. This design prevents unauthorized data alteration even if the private key is compromised. In brief, the smart contract can handle the following data:</p><ul><li>PEF Report: Product Environmental Footprint</li><li>HP Textile Composition Report: Health Protection Textile Composition</li><li>HP Report: Health Protection Report</li><li>SEA Certifications: Social and Ethical Assessment Certifications</li><li>AC Report: Ant-Counterfeiting Report</li></ul><h3><strong>Why Truebit?</strong></h3><p><em>Data portability</em> empowers users by allowing them to transfer their data across various services or platforms, thereby avoiding vendor lock-in and enhancing competition among providers. This flexibility is especially important in the blockchain ecosystem, where it supports the interoperability of decentralized applications and aids in operational efficiency and disaster recovery. A number of alternative solutions were examined before implementing portability on blockchain via Truebit:</p><ul><li><strong>A Trusted Execution Environment (TEE)</strong> secures sensitive operations within a processor by isolating the execution space from external software threats, even from the main operating system. Challenges include performance overheads, limited memory, and the complexity of secure coding practices. Vulnerabilities require ongoing updates, and integration with decentralized systems like blockchain is complicated due to contrasting security models. Additionally, adopting TEEs can increase costs and limit cloud provider options due to the need for specialized hardware.</li><li><strong>The Chainlink Cross-Chain Interoperability Protocol (CCIP)</strong> provides a unified interface for web3 developers, facilitating token transfers and arbitrary messaging with enhanced security features like a Risk Management Network and decentralized oracle computation. It enables diverse functions such as data messaging across blockchains, direct token transfers, and programmable instructions for cross-chain interactions. However, CCIP faces limitations including restricted blockchain pair support and difficulties in integrating private with public networks.</li></ul><blockquote><strong><em>Truebit Verify is designed to ensure immutable trust by verifying code execution, outcomes, and authorship, as well as offering transparency and provenance for data and algorithms used in AI and automated processes.</em></strong></blockquote><ul><li>The system allows developers to create and deploy self-contained functions called Truebit Tasks, which are executed on decentralized nodes via a REST API managed by the Truebit Verify Hub.</li><li>The platform utilizes blockchain technology to secure operations, ensure transparency in task execution, and manage financial aspects, involving various stakeholders like Task Creators, Task Users, and Node Providers who contribute computing resources and ensure result integrity.</li><li>An attestation of every task execution is provided as proof of execution. Inputs, outputs, code, and events are cryptographically signed and written to a <strong>Truebit Certified Transcript</strong>, which is hashed and rolled-up to a public blockchain.</li></ul><h3><strong>The Verifier Agent</strong></h3><p>The Quadrans Team has developed a key component called the <em>Verifier Agent</em> that allows the authenticity and integrity of data to be verified before it is published on Portability Smart-Contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*SeAMstYDCzVksDhfKKGi6Q.png" /><figcaption>TRICK Data Portability Architecture</figcaption></figure><ul><li>It then allows a final verification to be done on the data before sealing and freezing the data within the smart contract to ensure its immutability.</li><li>Thanks to Truebit’s architecture and its underlying decentralized verification network, the implementation of this component within the whole architecture adds an additional and independent verification layer.</li></ul><h3><strong>Digital Twin and NFT</strong></h3><p>In the TRICK Project, the NFTs represent individual products, enhancing their authenticity, traceability, and security by embedding a <em>uniqueProductID</em> that links back to centralized systems. Additionally, each NFT has a meta-data file stored on IPFS, detailing the product’s attributes and ensuring transparency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RPL1EMRhjaFDbgn1HqtZ3Q.png" /><figcaption>TRICK Quadrans NFTs</figcaption></figure><blockquote><strong><em>Each NFT is connected to the portability Smart Contract and it is cryptographically linked to the data on Hyperledger (private) thanks to the proof generated by the execution of Truebit task: </em>the Transcript.</strong></blockquote><h3><strong>Next Steps</strong></h3><p>The activity of testing and adapting the product to real business needs is ongoing. Pilot projects are currently being conducted by major textile companies such as <a href="https://www.piacenza1733.com/">Fratelli Piacenza S.p.A</a> and the <a href="https://www.adm.gov.it/portale/">Customs and Monopolies Agency</a>, among others. The expectation is to release the first apparel samples associated with Quadrans NFT by the end of 2024.</p><p>Stay tuned</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3aecd7a74a86" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/quadrans-and-truebit-revolutionizing-textile-industry-3aecd7a74a86">Quadrans and Truebit revolutionizing Textile industry</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview with Sebastiano Cataudo, Co-Founder of YOMI.]]></title>
            <link>https://medium.com/quadrans/interview-with-sebastiano-cataudo-co-founder-of-yomi-187b329ae1f8?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/187b329ae1f8</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[partnerships]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 09:26:09 GMT</pubDate>
            <atom:updated>2024-05-07T13:20:20.585Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cfkvyWD_fHlj6LS6H_hVrg.png" /><figcaption>New Partnership! 🚀 Quadrans Foundation + YOMI</figcaption></figure><p>The Quadrans Foundation recently announced a partnership with <a href="https://yomi.digital/">YOMI</a>. We had a chat with YOMI Co-Founder <a href="https://twitter.com/turinglabsorg">Sebastiano Cataudo</a>. Here’s what he shared with us!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xH1l4NcV9EDkTyUVTrCvUw.png" /><figcaption>yomi.digital</figcaption></figure><p>YOMI is a laboratory of innovation and development that aims at bridging the gap between ideas and reality through top-notch tech solutions. The company’s vision is<em> “to contribute towards delivering Web 3.0 to the world, i.e. a fair decentralized internet in which users control their own data, identity and destiny.”</em></p><p>Founded in 2021, the company has seen exponential growth in recent months, counting on several major names in the <strong>web3 space </strong>among its customers and partners.</p><p>Following, an interview with Sebastiano Cataudo, co-founder of YOMI and Quadrans Foundation’s member, covering several leading roles in different companies and projects.</p><p>Sebastiano is a proficient and passionate <strong>Blockchain Developer</strong> with a proven track record of cutting-edge technology solutions in the field that dates back to 2016.</p><p>Deeply knowledgeable in <strong>blockchain security</strong>, <strong>architecture</strong> patterns, and different <strong>protocols</strong> and <strong>ecosystems</strong>, he handled several projects, proving his capability of excelling as part of a team or individually in a fast-paced environment.</p><p>In this article Sebastiano tells us more about his background and experience with YOMI, and his vision of Quadrans’ impact and potential, sharing some tips for developers approaching the blockchain universe.</p><h4><strong>The first thing that catches our eye in your Twitter profile bio is “Polyhedric Open-Source Developer”. What does it mean for you?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1cIEv5z6oqFg9K-6NHtWyw.png" /><figcaption>@turinglabsorg</figcaption></figure><p>I run through that definition word for word. Well, starting from “developer” it speaks for itself, I don’t have much to add!</p><p>The adjective “Polyhedric”, on the other side, expresses both my approach and advocacy for <strong>a multi-chain future for blockchain</strong>, meaning one where there are multiple ecosystems thriving while being interoperable with each other.</p><p>Last but not least, “Open-Source” refers to my conception of blockchain as a genuinely public, decentralized and transparent way to keep records. Open source facilitates the decentralization meaning no one central “source of truth” can become corrupted or make decisions that impact everyone. At a glance, newcomers may worry that this could make the technology vulnerable, but in reality, <strong>the open-source nature helps any software to protect it and maintain that all-important transparency.</strong> Moreover, allowing others in on the technology can exponentially boost the potential applications available and its spread!</p><h4><strong>How and when did your passion for blockchain start?</strong></h4><p>Back in 2015, I was a fresh expat seeking my way into Berlin’s startup ecosystem when I stepped on Bitcoin. That was the gateway for me and I never looked back since then:</p><p>once I got deeper into Web 3.0, I knew I wanted to be actively part of this paradigm shift.</p><h4><strong>What is the motivation behind running your own web3 studio, YOMI?</strong></h4><p>I firmly believe teamwork is the key to success in any domain. I just couldn’t imagine myself not being part of a group of people striving towards the same vision, sharing feedbacks, and contributing to something bigger with their own unique skills, perspectives and attitudes.</p><p>YOMI is more than a company to me, it is a place, both virtual and physical, in which everyone has the opportunity to express themselves and their ideas without the fear of not being heard. This allows us to do great things and have a lot of fun together.</p><p>Only a fool wouldn’t want to be part of this!</p><h4>What does being part of the Quadrans Foundation mean to you?</h4><p>It makes me proud to be an active contributor, together with experts, researchers and academics from all over the world, to such a promising player in the blockchain ecosystem.</p><p>Quadrans is a perfect example of a project that truly never stopped evolving to achieve the goal of providing a <strong>transparent</strong> and <strong>efficient</strong> <strong>tool</strong> for communication, governance, and business.</p><h4><strong>What are, in your opinion, Quadrans core advantages?</strong></h4><p>Quadrans blockchain improves the structure and performance of businesses, institutions, and public organizations. It is <strong>affordable</strong>, very suitable for <strong>industrial use cases</strong> (complex supply chains, process executions, data management), and achieves high throughput in a <strong>secure</strong> way while maintaining a <strong>high degree of decentralization.</strong></p><h4><strong>What would be the top 3 tips you would give to other blockchain developers?</strong></h4><p>I would summarise them as follows:</p><ol><li><strong>Never stop learning.</strong> This will keep your mind sharp and help you stay on top of this incredibly fast-moving field.</li><li><strong>Be proactive.</strong> Think about the future and focus on the things you can control instead of those you cannot.</li><li><strong>Don’t get stuck on just one chain.</strong> The future is multi-chain, I tell you!</li></ol><p><em>Did you enjoy this submission? Subscribe and don’t miss the next Quadrans announcements!</em></p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a>, <a href="https://discord.com/invite/KTp8J2X2q6"><em>Discord</em></a> <em>and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=187b329ae1f8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/interview-with-sebastiano-cataudo-co-founder-of-yomi-187b329ae1f8">Interview with Sebastiano Cataudo, Co-Founder of YOMI.</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Series: Quadrans Essentials on what is Sharding and how does it Apply to Blockchain?]]></title>
            <link>https://medium.com/quadrans/the-series-quadrans-essentials-on-what-is-sharding-and-how-does-it-apply-to-blockchain-a710b7d1913d?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/a710b7d1913d</guid>
            <category><![CDATA[sharding]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 09:25:39 GMT</pubDate>
            <atom:updated>2022-10-14T09:25:39.055Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mqx62oQ53X5x9tlBRs30PQ.jpeg" /></figure><p>Hey there, happy to see you again! Since the beginning of the <em>Series: Quadrans Essentials</em> we have walked you through most of the <strong>underlying notions of blockchain</strong> technology. How is your journey going?</p><p>To refresh your memory, here are the topics we have covered so far: <a href="https://medium.com/quadrans/series-quadrans-essentials-unveils-the-beauty-and-magic-of-peer-to-peer-networks-p2p-166dfe79b4a4">Peer-to-Peer Networks</a>, <a href="https://medium.com/quadrans/series-quadrans-essentials-brings-you-post-quantum-cryptography-a-movie-on-secrets-vs-dfe664520ba7">Post-Quantum Cryptography</a>, <a href="https://medium.com/quadrans/series-quadrans-essentials-presents-the-beauty-and-magic-of-public-key-cryptography-8e60b9cf854b">Public-Key Cryptography</a>, and <a href="https://medium.com/@quadrans/the-series-quadrans-essentials-challenges-you-with-crypto-puzzles-e10fe56afc2">Crypto-Puzzles Algorithms</a>.</p><p>A special episode was also released to highlight one of the features that make the Quadrans blockchain unique, being <a href="https://medium.com/quadrans/quantum-proof-ready-one-of-quadrans-blockchain-most-unique-features-9ddd5aaec5b4">Quantum-proof Ready.</a></p><p>Today it’s time to tackle a more complex topic and get a little more technical. Let’s talk about <em>Sharding</em> and how it can help the blockchain become more <strong>scalable</strong> and process more information per unit of time.</p><h4>ELI5 (Explain Like I’m 5). What is Sharding?</h4><p>You head to the library to satisfy your desire to read “Lord of the Rings” and ask the librarian to go fetch the book for you.</p><p>Meanwhile, a queue of other customers is forming behind you — each with their own book request. Only they have to wait for the librarian to come back before being served.</p><p>One librarian to satisfy a bunch of customers is not ideal: he wastes too much energy and time to go back and forth between the shelves and cannot perform multiple tasks at the same time.</p><p>To serve customers more quickly and handle their requests more effectively, the library decides to hire new staff.</p><p>Few librarians now run back and forth between the shelves of the library, search for the required books and bring them to the customers.</p><p>With more staff, the system has improved — but efficiency still has a long way to go… and customers and requests still pile up.</p><p>The library is immense, why not divide it into subsets and give a specific task to each librarian? One deals only with <em>romance</em> books, one with <em>mystery</em> books, and one with <em>fantasy</em> books.</p><p>“Lord of the Rings?” No problem, just ask the librarian assigned to <em>fantasy</em> books and he will find it in no time.</p><p>With this system, the queue of customers is processed much faster, the energy required to search for books is used more efficiently and requests are resolved more quickly.</p><p>Well, the library just applied <em>Sharding</em> to improve the performance of its book system.</p><blockquote>We can think of S<em>harding</em> as the process of dividing a single large task into smaller tasks, so that they can be processed with a higher degree of parallelization and efficiency (energy and time wise).</blockquote><p>In a nutshell: <em>sharding</em> improves scalability!</p><h4><strong>However, not all that glitters is gold. What’s the dark side of <em>Sharding</em>?</strong></h4><p><em>Sharding</em> comes with certain drawbacks and needs to be implemented carefully.</p><p>First of all, finding your way around the different sharding techniques and choosing which one to use is no easy task. The characteristics of the specific target dataset must be analysed correctly.</p><p>Also, be prepared to handle <strong>more complexity </strong>in the system.</p><p>If the correct technique is not identified or the complexity in the system is beyond your capabilities, sharding ‘optimizations’ may lead to even worse results than the non-optimized case, resulting in a degenerative scenario.</p><h4>Sharding and Blockchain Technology</h4><p>For blockchain technology to really be considered for mass adoption and applications in different industries, it needs to become much <strong>more scalable.</strong></p><p>It is a fact that over the past year and a half, sharding techniques have been implemented even in complex decentralised infrastructures such as public blockchains to tackle scalability issues.</p><p>How does this process work?</p><blockquote>Splitting a blockchain into shards means processing more transactions in parallel and making nodes responsible for one shard at a time instead of the entire blockchain, greatly reducing hardware and storage requirements.</blockquote><p>Imagine the Blockchain infrastructure as a Big City in which citizens (nodes) and marketplaces (dApp) are spread across a vast space. To exchange information (transactions) and access marketplaces, citizens needs to travel the city, but them walking the same streets or entering the same marketplaces can create very long queues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f92dNu1Vy-WfcnLj-VMIGg.jpeg" /></figure><p>To speed things up, the structure of the Big City is divided into Districts to enclose in the same space the citizens and marketplaces they interact with the most. This means that some parties we rarely interact with are not available in our District, but we can always go out of one District and do our business in another, the important thing is that there is a trace of all the events happening in the Big City somewhere. This in blockchain is made possible by the distributed consensus algorithm.</p><p>This is in a nutshell is how <em>sharding</em> works for blockchains. But what about <strong>security</strong>?</p><p>If the integrity of a blockchain is built on the concatenation of information, organized over time into blocks by a hash mechanism and secured by the distributed consensus algorithm (Proof-of-Work) — can splitting the chain (sharding) break this system and make the blockchain less secure?</p><p>Yes, we are heading straight for <em>Buterin’s Trilemma: </em><strong>scalability</strong>, <strong>security</strong>, and <strong>decentralization</strong> on the vertices of a triangle that prevents a single solution from finding the “best” value for each of the three elements simultaneously.</p><p><em>Sharding</em> would therefore benefit blockchain scalability but threaten security. The game is to find an appropriate balance.</p><p>Let’s go back to our example, the blockchain is a Big City divided into Districts (shards) and filled with citizens (nodes) and marketplaces (dApps). In this scenario, who is responsible for the information flowing within the Districts? And who verifies the accuracy of the information traveling from one District to another?</p><p>Leaving information theory (IT) to those who enjoy black screens and green text, let’s try a more practical approach here.</p><p>To ensure the integrity of the information exchanged, the citizens periodically elect, among a set of eligible candidates, a <strong>High-level Government</strong>, made of the so called <em>validators</em>, with the purpose of overseeing the operations of all the individual Districts and keeping track of the status of the Big City. High-Level government then elects Low-level governments for each District.</p><p>Only the High-level government will store and check the correctness of each piece of information being exchanged within the Big City, while Low-level governments will only deal with the information of their own District.</p><p>Unfortunately, our Big City is not safe from “corruption”.</p><p>What happens if one District tries to corrupt another and take over? To avoid this unfortunate but real scenario, the <em>validators</em> elect Low-level governments periodically and randomly, so that each government cannot know in advance which District it will govern and which its colleagues.</p><p>This solution offers good scalability and, thanks to its multi-level control structure, improves the degree of security compared to a single-government solution.</p><p>By the principles of <em>Buterin’s Trilemma</em>, if scalability and security increase decentralization will inevitably go down. If we consider a traditional Proof-of-Work blockchain, in which all nodes compete with each other, with <em>sharding</em> only a subset of nodes will compete for validation — decreasing the decentralization of the entire ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VCGrXqGwUVaLeelDfZ5FsQ.png" /></figure><p><strong>What about Quadrans?</strong></p><p>In the <a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf">Quadrans 2.0 Yellow Paper</a>, <em>Sharding</em> was explored and leveraged as a means to increase infrastructure <strong>scalability.</strong></p><p>Transactions exchanged by actors in the P2P network are divided into shards based on the addresses of the senders. Specifically, a defined portion of the addresses (the initial N bytes) is used as a grouping key to divide M addresses into N different shards, where the respective transactions will be processed.</p><p>The Quadrans network will support two types of control entities:</p><ul><li><strong>Miners</strong>, similar to Low-level governors, are in charge of validating blocks within a single shard-chain (District) using the PoW mechanism;</li><li><strong>Masternodes, </strong>similar to the High-Level governors,<strong> </strong>are in charge of controlling the Miner’s work, electing them and adding information within the master-chain.</li></ul><p>A node can be eligible for a Miner or Masternode role according to the capital (QDTs) that it keeps locked into its wallet — a miner needs only 1k QDTs, whereas a Masternode needs at least 100k QDTs.</p><p>Both Miners and Masternodes are rewarded with new Quadrans Coins (QDCs) in proportion to their role and contribution to the network.</p><p>The transactions stored and secured by the Miners in each shard are collected and validated by the Masternodes in each block, compressed into a compact data structure called the <em>Merkle-Tree</em> and added to the master-chain.</p><p>Maintaining consistency on all updates occurring on a specific address between shards is essential.</p><p>In addition to the master-chain and the different shard-chains, Quadrans 2.0 features a third type of chain, called the <strong>synchro-chain</strong>, used to mark time.</p><p>Synchro-chain, divides time into epochs, and defines for each of them:</p><ul><li>The set of active Masternodes;</li><li>The set of Miners assigned to each shard that compete in the consensus mechanism of their respective shards;</li><li>The number of active shards during such epoch (computed on the basis of a post-analysis of the workload assigned to shards of previous epochs);</li><li>The duration of the epoch.</li></ul><p>We don’t want to put too much on your plate guys, so that’s it for today!</p><p>This important episode includes complex concepts that hopefully we have made as simple as possible for your understanding. Our journey continues with the next episode of the <em>Series: Quadrans Essentials</em> in which we will see in detail <strong>Quadrans’ consensus and validation protocol</strong>. Stay tuned and thanks for following us!</p><p><em>Did you enjoy this article? Subscribe &amp; don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a><em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a710b7d1913d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/the-series-quadrans-essentials-on-what-is-sharding-and-how-does-it-apply-to-blockchain-a710b7d1913d">The Series: Quadrans Essentials on what is Sharding and how does it Apply to Blockchain?</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Series: Quadrans Essentials challenges you with Crypto-Puzzles]]></title>
            <link>https://medium.com/quadrans/the-series-quadrans-essentials-challenges-you-with-crypto-puzzles-e10fe56afc2?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/e10fe56afc2</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[proof-of-work]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 09:24:55 GMT</pubDate>
            <atom:updated>2022-10-14T09:24:55.335Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9m7n7w5Nh4CIHpreRuVV1w.jpeg" /></figure><p>Welcome back to the <em>Series: Quadrans Essentials.</em> In this fourth episode of the series,<em> </em>we will be taking a dive into <strong>cryptographic puzzles</strong> and ciphers.</p><p>In the previous articles, we’ve talked about <strong>encryption schemes</strong> and their usage — now let’s get more practical with a few simple examples of cryptography applied to cryptograms.</p><p>Cryptograms are very similar to puzzles, but instead of using shaped tiles, they are usually based on <strong>words</strong> and <strong>letters</strong>.</p><p>To get to the solution of the cryptogram, users need to understand the correct cipher and find the <strong>magic keyword</strong> which reveals the information hidden beneath the encrypted text.</p><p><strong>Cryptograms</strong> are based on <em>ciphers</em> (also called <em>codes</em>) — algorithms that allow to encrypt and decrypt a piece of information by following a well-defined sequence of steps and using well-defined sets of input parameters.</p><p>The difficulty of a cryptogram is determined by the complexity of the used cipher and the used parameters. Let’s get started!</p><h3><strong>Cryptograms</strong></h3><p>Cryptograms are classified into several categories according to how they can be used to encrypt information. Let’s look at a couple of examples together.</p><h4><strong>Mono-alphabetic substitution ciphers</strong></h4><p>The categories of ciphers used in the past were relatively simple, the oldest being <em>substitution ciphers. </em>The principle behind substitution ciphers is elementary: “units of text” (single letters or sequence of them) are substituted with the cipher-text.</p><p>In the simplest case of single letter substitution, the cipher-text is a <strong>shuffled version</strong> of the common alphabet obtained by <em>shifting</em> or <em>mixing</em> it.</p><p>We’ve talked about this in the third episode of the <em>Series: Quadrans Essentials</em> titled <em>The Beauty and Magic of Public-Key Cryptography.</em> If you missed it, you can read it <a href="https://medium.com/quadrans/series-quadrans-essentials-presents-the-beauty-and-magic-of-public-key-cryptography-8e60b9cf854b"><strong>here</strong></a><strong>.</strong></p><p><em>Caesar cipher </em>dates back to Roman Age and consists in simply shifting all symbols of the common alphabet by a selected number of steps (rotation number).</p><p>In this case, the encryption only makes sense if this number is between 1 and the length of the alphabet minus one.</p><p>Who wants to decrypt the text needs to know or <em>guess</em> the rotation number used in the encryption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdY8a3oh7nxZjrQcBKXpsQ.jpeg" /><figcaption>The Caesar Cipher</figcaption></figure><p>Another technique used in mono-alphabetic substitution is called the mixed alphabet. Its principle is very simple: choose a <strong>keyword</strong> or <strong>key-phrase</strong> and remove all spaces and duplicate letters from it.</p><p>Then, place the result letters of this operation at the beginning of the new alphabet and continue with all the remaining symbols of the alphabet (generally using normal alphabetical order). Just like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UzA4PlXxaSUCoKEvf29S3w.jpeg" /><figcaption>The Mixed Alphabet</figcaption></figure><h4><strong>Poly-alphabetic substitution ciphers</strong></h4><p>In the 13th century, things started to get a little more challenging with the introduction of a new category of codes — the <em>polyalphabetic substitution</em> ciphers.</p><p>The most famous code belonging to this category is the <em>Vigenère</em> cipher.</p><p>First described by <em>Giovan Battista Bellaso</em> in 1553, the cipher is easy to understand and implement, but it resisted all attempts to break it until 1863 — three centuries later! Fun fact: in the 19th century, this scheme was misattributed to <em>Blaise de Vigenère</em> (1523–1596) and so acquired its present name.</p><p>The code takes up the substitution principle used by the <em>Caesar Cipher</em>, but instead of using a single translated alphabet, it uses a set of them — <em>poly</em> in fact means <em>many</em> in Greek — plus an <strong>encryption keyword.</strong></p><p>The basic element of the Vigenère cipher is called the <em>tabula recta —</em> a set of rows (26 for the normal Latin alphabet) in which the original alphabet is shifted by one position in each subsequent row.</p><p>Then a <strong>keyword</strong> is used to index the alphabet, among those in the matrix, for the substitution of a specific symbol in the text.</p><p>Let’s try and build a Vigenère code step-by-step:</p><ol><li>Compute the tabula recta;</li><li>Select your keyword;</li><li>Create an “intermediate-text” obtained by repeating the keyword for the whole length of the plaintext;</li><li>Use each letter of the intermediate-text to select the alphabet to be used from the tabula-recta, then get the letter of the plaintext occupying the same position and substitute it according to the selected alphabet;</li><li>In the end, the encrypted text is obtained.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S8mgfvldneN2GX9MplSmkQ.jpeg" /><figcaption>Tabula Recta</figcaption></figure><h4><strong>Reshaping the world with crypto puzzles</strong></h4><p>The cryptograms we’ve seen are great brain exercises for <em>human beings</em>, but computers need something more complex to entertain themselves.</p><p>One of the most interesting, challenging and as of now high-rewarded cryptograms that a computer would be challenged to solve nowadays was first described by Adam Back in its <em>Hashcash</em> protocol proposal (1997) and known as <em>Proof-Of-Work.</em></p><p>The same cryptographic puzzle was then recalled in the <em>Bitcoin protocol</em>, proposed in 2008 by the mysterious Satoshi Nakamoto, as part of the distributed consensus mechanism.</p><p>Let’s see what this is all about in a simple way.</p><p>As many of us already know, computer language is made up of “1&#39;s” and “0&#39;s” (bits) — with the combination of them in sequences of various lengths being able to represent almost any information in digital form.</p><p>Thanks to cryptography we are able to compute a unique <strong>fingerprint</strong> for every digital information, which we call <em>hash</em>. Hashes have some interesting properties:</p><ul><li>They have always a fixed length, independently from the length of the original information from which they are calculated;</li><li>The probability of having the same hash for two different input data decreases exponentially with the length in bits of the hash;</li><li>Even small changes in the input data will result in a very different hash as the output;</li><li>Knowing the output, it is computationally not possible to invert the hash function and find the original input;</li></ul><p>Thus, if we compute hashes having a reasonable bit-length (typically 256-bits, 512-bits are used as of today), we can uniquely identify each piece of information in digital form.</p><p>Let’s imagine that you are able to grasp the sequences of bits at first sight and calculate their fingerprints (hashes) in a matter of seconds, would you be able to solve this challenge?</p><p><em>Take a well-defined input sequence (block) to which you can add a fixed bytes-sequence (nonce). Find a valid nonce, to be added to the initial data-set, such that the hash of the resulting data (block + nonce) has exactly a given number of leading zeroes. The number of the leading zeros to be reached is the so-called difficulty.</em></p><p>Sounds difficult, doesn’t it? Thanks to properties related to the <em>hashing algorithms</em> there is no immediate mathematical solution to this problem and the only way you can deal with it is to use all of your <em>brute force —</em> computationally speaking of course.</p><p>Plus, the problem becomes exponentially more difficult as the requested number of leading zeroes grows.</p><p><em>Disclaimer: no electronic device has been mistreated for writing this article </em>😊</p><p>So even if you are the best and fastest <em>human hash-solver</em> in the world, you won’t stand a chance in this game even with a 30-year-old PC. When complexity grows, this cryptographic puzzle begins to be unsolvable even for most modern powerful PCs.</p><p>However, looking at the statement of the problem it is somewhat easy to see that, regardless of the complexity required, counting the number of leading zeros is sufficient to verify the correctness of the solution…</p><p>As of now, Bitcoin’s <em>Proof-Of-Work </em>solving process (mining) requires the usage of specialised hardware called miners which use specific electronic chips (Application Specific Integrates Circuits — ASICs) that are designed and intended only for computing hashes as fast as possible.</p><blockquote>At the moment of writing, in June 2022, high-end Bitcoin miners are able to compute hundreds of thousands of billion hashes per second (~ 100 TH/s) and absorb kilowatts of electrical power.</blockquote><p>The <em>Proof-Of-Work</em> crypto-puzzle is a crucial component of Bitcoin and its combination with other cryptographic primitives, game theory concepts and blockchain data structure makes the <em>magic</em> happen.</p><p>Roughly speaking, solving the crypto-puzzle represents a way for miners within the peer-to-peer network to “invest” their computational power in the validity of a new block of the blockchain.</p><p>If a miner tries to cheat, other nodes can reject its new block of the blockchain (containing a double spending transaction for example) and all the “invested” power on that version will be wasted. On the contrary, if a miner behaves honestly, it will be rewarded with newly emitted bitcoins.</p><p>Bitcoin’s crypto-puzzle was the first to be applied to address the problem of distributed consensus, yet it is not the only one — other ecosystems in the crypto-world like <em>Ethereum</em>, <em>Monero</em>, <em>Dash</em>, and many more make use of slightly modified versions of the original Satoshi’s <em>Proof-Of-Work.</em></p><h4><strong>And what about Quadrans?</strong></h4><p>As described in the <a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf">Quadrans Yellow Paper</a>, Quadrans 2.0 will use a bit of <em>Proof-of-Work</em> too... All the features of Quadrans innovative consensus algorithm are included in the Yellow Paper, which we encourage you to check out.</p><p>But let’s talk about this for a moment with an example involving an object you all know.</p><p>You have two <strong>Rubik’s cubes </strong>at your disposal: the first one is not necessarily solved — let’s call it <em>target</em>; the second Rubik’s cube is not solved and has some missing tiles — this one we call <em>target-prime</em>.</p><p>The crypto-puzzle consists in finding the correct colour of each missing tile, such that after a certain number of rotations of the <em>target-prime</em> cube, with no more missing tiles, the result is as similar as possible to the <em>target</em>.</p><p><em>Target</em> and <em>target-prime</em> are two sequences of bytes that are related to the whole context (time, network status, blockchain status) in which the puzzle is executed and that the missing tiles represent the <em>nonce</em> that the solver can add, as we have seen for Bitcoin.</p><p>Each rotation you make on the cube represents the execution of a computational-intensive function on the <em>target-prime</em> bit-sequence. Such functions can be chosen pseudo-randomly among a set of pre-defined functions — not a fixed <em>hash</em> function as it happens in Bitcoin.</p><p>To check the validity of the solution, count and compare the different tiles at each position of the two cubes — in mathematics, this operation is equivalent to calculating the so-called <em>Hamming distance</em> between sequences of two bits.</p><p>So far, then, it would appear that Quadrans’ Proof-of-Work is no different from Bitcoin and is equal in computational intensity… so where does the Quadrans blockchain <strong>energy efficiency</strong> lie?</p><p>Finding out takes a little more patience as we walk this path together, and you will see that all the pieces will fall into place...— some answers will come in the next few episodes of this Series: Quadrans Essentials.</p><p>In the meantime, check out <a href="https://quadrans.io/sustainability">Quadrans’ latest Sustainability Report</a>. The report is based on public data extracted from <a href="https://status.quadrans.io/">Quadrans Network Status</a> and reveals that Quadrans is a sustainable blockchain that performs <strong>energy-efficient transactions.</strong></p><h4><strong>TIP For code lovers</strong></h4><p>Let’s play with some Python code! Try the snippets below and have fun modifying them to build complex ciphers ;)</p><p>This first snippet implements a <em>Caesar cipher</em> in Python.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/082fa93bc945639891411275ba98663b/href">https://medium.com/media/082fa93bc945639891411275ba98663b/href</a></iframe><p>Looking at the code, the cipher algorithm is fairly easy to understand: we first rotate the base alphabet by a given number of rotations and then replace each letter in the plain-text with the letter that occupies the same index as that letter in the rotated alphabet.</p><p>Next, let us examine the implementation of the <em>mixed-alphabet cipher.</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/586c703ec3dddbd57d8ca578171f0afe/href">https://medium.com/media/586c703ec3dddbd57d8ca578171f0afe/href</a></iframe><p>In this case the implementation is similar to that of Caesar’s Cipher.</p><p>The difference lies in the way the alphabet is generated. As described earlier, mixed-alphabet ciphers are based on a keyword that is prefixed to the base alphabet.</p><p>So, as you can see in lines 15–26, we simply clean up the keyword of duplicates and prepend it to the basic alphabet —being careful to consider only the letters in the latter that do not appear in the former.</p><p>Finally, we have the <em>Vigenere Cipher</em>’s implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e3b34b9d789edc09f6afa54a862d1f78/href">https://medium.com/media/e3b34b9d789edc09f6afa54a862d1f78/href</a></iframe><p><em>Did you enjoy this article? Subscribe &amp; don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a><em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e10fe56afc2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/the-series-quadrans-essentials-challenges-you-with-crypto-puzzles-e10fe56afc2">The Series: Quadrans Essentials challenges you with Crypto-Puzzles</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum-Proof Ready: one of Quadrans Blockchain Most Unique Features]]></title>
            <link>https://medium.com/quadrans/quantum-proof-ready-one-of-quadrans-blockchain-most-unique-features-9ddd5aaec5b4?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/9ddd5aaec5b4</guid>
            <category><![CDATA[digital-signatures]]></category>
            <category><![CDATA[post-quantum-cryptography]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 11:01:46 GMT</pubDate>
            <atom:updated>2022-07-21T11:01:46.463Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cj6ss82PObNOMB0NSvblmw.jpeg" /><figcaption>Special_Quantum-Proof Ready: One of Quadrans Most Unique Features</figcaption></figure><p>This is a special episode in the <em>Series: Quadrans Essentials</em>! Make sure you have read the previous episodes in the series before diving into this one.</p><p><strong>Episode 1:</strong> <a href="https://medium.com/quadrans/series-quadrans-essentials-unveils-the-beauty-and-magic-of-peer-to-peer-networks-p2p-166dfe79b4a4">Series: Quadrans Essentials Unveils the Beauty and Magic of Peer-to-Peer Networks (P2P)</a></p><p><strong>Episode 2:</strong> <a href="https://medium.com/quadrans/series-quadrans-essentials-brings-you-post-quantum-cryptography-a-movie-on-secrets-vs-dfe664520ba7">Series: Quadrans Essentials Brings You Post-Quantum Cryptography (a Movie on Secrets Vs. Technology)</a></p><p><strong>Episode 3:</strong> <a href="https://medium.com/quadrans/series-quadrans-essentials-presents-the-beauty-and-magic-of-public-key-cryptography-8e60b9cf854b">Series: Quadrans Essentials Presents The Beauty and Magic of Public-Key Cryptography</a></p><p>Today the security of all sensitive data relies on encryption — whether it is credit card transactions, databases containing health and genomic data, or private conversations...</p><p>Classical computers would require an almost unimaginable amount of time to unravel the cryptographic algorithms that protect our data and digital systems, but <strong>Quantum computers</strong> exploiting <em>qubits</em> may rely on processing power that could break even today’s best encryption algorithms.</p><p>Would the spread of super-powerful Quantum computers capable of overcoming conventional cryptographic defences pose a <strong>threat</strong> to everyone’s security? Yes, but we are not unprepared to deal with it.</p><p>Quantum resistance is already considered the next level of <strong>security standards</strong> addressed as critical R&amp;D to provide the highest level of security for the privacy of our data.</p><p>Quadrans blockchain infrastructure, a public, open-source and decentralised platform for Smart Contracts and dApps, has been designed to be <strong>Quantum-Proof ready </strong>and make use of special <strong>post-quantum signature algorithms</strong> based on lattice theory, linear codes, and polynomial equations.</p><p>What does this all mean? How is a <strong>robust cypher</strong> capable of withstanding Quantum attacks designed?</p><h3><strong>Cryptography and Mathematics</strong></h3><p>The relationship between Cryptography and Mathematics was not obvious from the beginning. It took until 1939 for Adrian A. Albert to present his Keynote Speech at the <em>Conference of the American Mathematical Society</em> in which he stated:</p><blockquote><em>We shall see that Cryptography is more than a subject permitting mathematical formulation, for indeed it would not be an exaggeration to state that abstract Cryptography is identical with abstract Mathematics.</em></blockquote><p>Ten years later, the same thought was taken up and expanded by C. Shannon with his landmark paper <em>“Communication Theory of Secrecy Systems”</em> which stated:</p><blockquote>The problem of good cipher design is essentially one of finding difficult problems. <em>We may construct our cipher in such a way that breaking it is equivalent to solving </em><strong><em>laborious </em></strong><em>problems.</em></blockquote><p>Thus, to construct a good cryptographic code, <strong>very difficult mathematical</strong> problems need to be used.</p><p>When a code is constructed based on a very difficult mathematical problem, it is difficult for the attackers to crack the code as the underlying mathematical problem is extremely <strong>hard.</strong></p><p>So some questions arise: what makes mathematical problems hard? Are there any very difficult problems? Well, for a long time we didn’t have any…</p><h3>All is not as it seems</h3><p>As the years passed, mathematicians and cryptographers added necessary pieces to arrive in 1971 at the definition of what a <em>“difficult and laborious problem” </em>is<em> </em>— and it became clear that there are two kinds of such problems.</p><h4>1- Problems that we “think” are difficult</h4><p>There are problems that we <em>believe</em> to be hard. We think that factoring a product of large primes is hard, that finding discrete logarithm is hard, etc.</p><p>Often these problems are related to Number Theory — but there is no underlying reason<strong> </strong>why these problems should be hard!</p><h4><strong>2- Problems that we can “prove” are difficult</strong></h4><p>In mathematical terms, they are called NP-hard problems.</p><p>In computational complexity theory, <strong>NP-hardness</strong> (non-deterministic polynomial-time hardness) is the defining property of a class of problems that are informally “at least as hard as the hardest problems in NP”.</p><p>These are problems arising mainly from <strong>lattice theory</strong>, <strong>linear codes,</strong> or <strong>polynomial equations</strong>.</p><h4><strong>The Quantum Threat</strong></h4><p>We now enter the heart of the conversation. When cryptographers started doing modern Cryptography in 1976, they based most cryptographic systems on problems that they <em>believed </em>to be hard — but we don’t know if they truly are.</p><p>And the funny thing is — a Quantum computer could <strong>easily break</strong> all the problems that are based on:</p><ul><li>Discrete Logarithm in Finite Fields;</li><li>Discrete Logarithm in Elliptic Curves;</li><li>Integer Factorisation;</li><li>And other Number Theory stuff.</li></ul><h4>Blockchain Applications &amp; Post-Quantum Digital Signatures</h4><p>Satoshi Nakamoto (2008), in his revolutionary paper <em>“Bitcoin: a Peer-to-Peer Electronic Cash System”</em> brought into the world the first blockchain — this immutable and infinite digital ledger we all appreciate.</p><p>Let’s simplify Satoshi Nakamoto’s paper as much as possible to extrapolate the <strong>two cryptographic algorithms</strong> necessary for the creation of any blockchain, i.e.:</p><ul><li><strong>Digital Signature</strong></li><li><strong>Hash Function</strong></li></ul><p>The <strong>Digital Signature</strong> that was used for Bitcoin is based on the supposed hardness of problems related to <em>elliptic curves</em>. We don’t have any proof of the hardness of these problems.</p><p>Unfortunately, a Quantum computer could easily break Bitcoin’s signature and steal all the millions of Bitcoin in the world — that’s millions, trillions of dollars!</p><p>This flaw raises many <strong>security concerns</strong> and increases the need to find systems that can withstand a quantum attack.</p><p>However, as of today, we do not know what will withstand a quantum computer attack. What we do know is what will withstand a classical computer.</p><blockquote>Can’t we start with that?</blockquote><p>There are cryptographic algorithms, including digital signatures, which are based on problems whose hardness is <strong>mathematically proved.</strong></p><p>Quantum computers do not have any significant advantage compared to classical computers when it comes to <strong>provably-hard problems.</strong> So, problems that are difficult for a classical computer, apparently are also difficult for a quantum computer.</p><p>This is what <em>“Post-Quantum Cryptography”</em> is all about — it wants to build cryptographic systems based on really hard problems that might resist quantum computer attacks.</p><p>Quadrans blockchain, a public, open-source, decentralised infrastructure for Smart Contract and dApps, was designed to be <strong>Quantum-Proof ready.</strong></p><p>With solid input from members of the Crypto Board of the <em>Quadrans Foundation</em>, including the President of the Scientific Committee, Professor Massimiliano Sala, Quadrans blockchain was designed to contain within its architecture <strong>innovative encryption methods</strong> that have a chance to resist quantum computer attacks.</p><p>Quadrans exploits the flexible adoption of various <strong>digital signature algorithms </strong>to let each user balance security and computational cost.</p><p>In <a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf">Quadrans Blockchain Yellow Paper</a> a distinction has been made between <strong>transaction-signing</strong> and <strong>block-signing</strong>, requiring much higher levels of security for block signatures.</p><p>Considering the relative proportion between <em>blocks</em> and <em>transactions</em> (the former comprise hundreds of instances of the latter) we can employ signatures that consume much more block space without debilitating overall efficiency. For these reasons, Quadrans blocks must be signed with Post-Quantum secure algorithms.</p><p>In particular, the Quadrans team has worked on <strong>three families of post-quantum algorithms:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HVrVsHge5f55gRgcFVKhJQ.jpeg" /></figure><h4>1- Digital Signatures based on Lattice Theory</h4><p>Why do mathematicians like lattice theory? Well, there has been an important result in complexity theory recently that proves that random keys or random instances of a problem to be solved, are as hard to break as the worst-case keys.</p><p>However, in Cryptography, keys are constructed randomly, without necessarily searching for the worst-case scenario. There is thus a possibility that a randomly constructed key is very easy to break.</p><p>However, complexity theory is usually based on a worst-case analysis. Problems based on lattice theory show some tangible proofs that random keys are as hard to break as worst-case keys.</p><p>The United States is also considering adopting<strong> lattice-based systems</strong> as a new standard, so we decided to include digital signatures based on lattice theory within Blockchain Quadrans.</p><h4>2- Digital Signatures based on Linear Codes</h4><p>Quadrans digital signatures are not limited to lattices. We have also worked on signatures based on linear codes.</p><p>Linear codes don’t have this strong link between worst and average, but they have another advantage: it has been proved that if you provide a large part of the input or a large part of the key and provide infinite pre-processing, infinite time, infinite computers — all this will not help solve the problem.</p><p>Knowing part of the key is no advantage whatsoever in solving the problem. That’s why we’ve been working on this as well and have included digital signatures also based on linear codes in the Quadrans Blockchain.</p><h4>3- Digital Signatures based on Polynomial</h4><p>Finally, we have also studied signatures based on solving systems of binary polynomial equations — also called Multivariate Cryptography.</p><p>Well, these systems are less popular and one of the standards proposed called <em>Rainbow</em> has just been recently broken.</p><p>They don’t have any special properties like the other two families have, but we have proved that the main decision problem associated with an equation which is called MQ is isomorphic to the main decision problem used in linear codes, which is called MLD.</p><p>We have thus demonstrated the <em>isomorphism</em> between the two languages or, if you prefer, between the two problems that make this theory remarkable and fitting for inclusion among the digital signatures proposed in the Quadrans Yellow Paper.</p><p>To see the complete list of proposed <strong>Digital Signature Algorithms,</strong> please refer to Quadrans Yellow Paper section 3.1.1 Available Digital Signature Algorithms.</p><p>Today, there are a lot of critical systems that rely on vulnerable cryptography, including most blockchains that use either the Elliptic Curve Digital Signature Algorithm (ECDSA) for public-key Cryptography or some variant of it.</p><p><strong>Quadrans is one of the blockchains focused on building quantum-resistant solutions</strong>. More specifically, Quadrans developers will support additional signature schemes in the future. Ensuring Quadrans blockchain is quantum computing-resistant is one of the top priorities as of right now.</p><p>This article is based on Full Professor of Mathematics Massimiliano Sala&#39;s Keynote Speech <em>“Technical Overview on Post-Quantum Cryptography and Applications to Blockchain Technology”</em> which was presented during the 5th Edition of the qBATS (Quantum &amp; Biomedical Applications Technologies &amp; Sensors) on June 20, 2022, in Lugano, Switzerland.</p><p>About 200 mathematicians, professors, and researchers from all over the world took turns on stage to present the latest innovations in the Quantum and Biomedical fields.</p><p>The Quadrans blockchain was presented in its most unique features, such as being <strong>Quantum-Proof ready</strong> and making use of special digital signatures based on complex mathematical theories.</p><p>A recording of his speech can be seen here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIWFNKVJMhb8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIWFNKVJMhb8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIWFNKVJMhb8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/efe09fa18a676580fb1f401918d3c10f/href">https://medium.com/media/efe09fa18a676580fb1f401918d3c10f/href</a></iframe><h4>About Prof. Massimiliano Sala</h4><ul><li>Full Professor of Mathematics and Head of the Laboratory of Cryptography of the Department of Mathematics at the University of Trento — the “<a href="http://www.science.unitn.it/~sala/lab/"><strong>CryptoLabTN</strong></a><strong>”</strong> is the first and so far only Cryptography centre in Italy, established back in 2010 and now composed of more than 20 young researchers;</li><li>Acting Director of the Italian association “<a href="https://www.decifris.it/"><strong>De Componendis Cifris</strong></a><strong>” </strong>— the national initiative aims to nurture the Italian cryptographic community and develop robust and flexible cyphers suitable for the modern era, fostering the rise of new talent dedicated to the cryptographic sciences.</li><li><strong>Consultant</strong> in Cryptography and Cyber Security — covers activities including design, security, and evaluation of algorithms and protocols, analysis of Ransomware and Malware, and decryption of files.</li><li><strong>President of the Crypto Board</strong> of the Quadrans Foundation — within the Quadrans Crypto Board, the Scientific Committee of the Quadrans Foundation, are distinguished and international personalities who contribute to the research and development of the Quadrans infrastructure. Prof. Massimiliano Sala played a key role in the design of the Quadrans blockchain architecture and the development of the unique features presented in the <a href="https://quadrans.foundation/content/files/quadrans-yellow-paper-rev1.pdf">Quadrans Blockchain Yellow Paper.</a></li></ul><p><em>Did you enjoy this article? Subscribe &amp; don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a>,<em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ddd5aaec5b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/quantum-proof-ready-one-of-quadrans-blockchain-most-unique-features-9ddd5aaec5b4">Quantum-Proof Ready: one of Quadrans Blockchain Most Unique Features</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Series: Quadrans Essentials Presents The Beauty and Magic of Public-Key Cryptography]]></title>
            <link>https://medium.com/quadrans/series-quadrans-essentials-presents-the-beauty-and-magic-of-public-key-cryptography-8e60b9cf854b?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/8e60b9cf854b</guid>
            <category><![CDATA[public-key-encryption]]></category>
            <category><![CDATA[public-key-cryptography]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Mon, 04 Jul 2022 10:09:12 GMT</pubDate>
            <atom:updated>2022-07-04T10:09:12.522Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kn3FkVc0eQOw6JO1JPl1QA.jpeg" /></figure><p>We land today on the third episode of the <em>Series: Quadrans Essentials</em>. Our journey continues as we delve into the technologies at the core of <strong>Quadrans Blockchain</strong> and their role within the <strong>Web3 Revolution</strong> and decentralised systems.</p><p>In the first episode of the series, we covered the rise of <strong>P2P networks</strong> and the sweeping changes they brought to all the industries that rely on them today. In the second episode we guided you through the <strong>history of Cryptography</strong>, from its origin to Post-Quantum Cryptography.</p><p>Today we continue to swim in the same sea — Cryptography is in fact such a broad and fascinating subject that it brings together math enthusiasts, spy story geeks and cryptocurrency nuts.</p><p>In this article we will focus on <strong>Public-Key Cryptography</strong> — a family of cryptographic algorithms with many possible applications.</p><p>Public-Key Cryptography algorithms are also referred to as <em>asymmetric</em> and as the name suggests they are meant to be set apart from their predecessors — the <em>symmetric</em> algorithms.</p><p>So let’s jump right in and see what makes <em>asymmetric</em> <strong>Public-Key Cryptography algorithms </strong>different from <em>symmetric</em> ones.</p><h3>Encryption at a Glance</h3><p>Usually, encryption makes <strong>secure communication </strong>between two or more parties possible in a hostile environment.</p><p>Do you remember <em>Alice</em> and <em>Bob</em>? These two need to communicate privately out in the open preventing a malicious third party, called <em>Eve</em>, from knowing what they are saying to each other. <strong>Encryption</strong> comes to the rescue, with its tools and algorithms.</p><p>Let’s see how with an example.</p><p><em>Alice wants to deliver the message ‘M’ to Bob, to do so she uses an encryption algorithm and a secret key ‘K’ which transforms her initial message ‘M’ into a seemingly random gibberish text — the result of the transformation is a new message ‘G’.</em></p><p><em>Alice can now send the message ‘G’ to Bob using any insecure channel, because even if Eve was ready to intercept it she could not trace the original message ‘M’ without the key ‘K’. Only Bob, who knows both the algorithm used by Alice and the key to read it, can recover the original message ‘M’ to the received message ‘G’.</em></p><blockquote><strong>Hurray for privacy!</strong></blockquote><p>Today we use encryption almost daily without even realising it: it’s embedded in our smartphones, the apps we use to chat, in banking apps, within the web, in payment systems and plenty of other examples.</p><h3>In the Beginning it Was Symmetric</h3><p>Historically, the first algorithms to be built were <em>symmetric</em>. Symmetric in this case denotes that the algorithm is <strong>reversible</strong> and can be run in either direction.</p><p>So in symmetric encryption an <strong>algorithm</strong> and a <strong>cryptographic</strong> <strong>key</strong> are used to transform the message ‘M’ into the message ‘G’ and, when the same algorithm is run backwards with the same encryption key, the message ‘G’ is recovered back into the message ‘M’.</p><p>An example you might already be familiar with is called “<strong><em>the letter transposition algorithm”</em></strong>.</p><p>This is an easy trick to pull off, imagine scrambling the letters of the alphabet and comparing the new scrambled alphabet with the regular one. Look at the image below. To compose your message, check which letter corresponds to the letter you want to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mO7sAnx5yVOQ5tH0e3-8NA.jpeg" /><figcaption>The Letter Transposition Algorithm</figcaption></figure><p>Using this scrambled alphabet we would exclaim <strong>“Vmzzd Oduzs!”</strong> instead of “Hello World!”</p><p>In this case, the <em>algorithm</em> used or more simply the rule used is “replace the letter” and the <em>secret</em> <em>key</em> is the encrypted alphabet we created by scrambling the alphabet — but note that the same approach can be used to create a different encrypted alphabet.</p><p>If we swapped the letters in one direction to encrypt your message, all we need to do to decrypt it is to swap them backwards. You played similar games in school, didn’t you?</p><blockquote>We’re having fun with it, but it is clear that this encryption scheme is <strong>way </strong>too simple and <strong>easy to crack</strong> to be used for real life purposes: the encrypted words have the same number of characters as the original ones, and the frequency of the letters reveals too many clues. But for the argument’s sake let’s pretend this algorithm is extremely hard to break. Which other weaknesses can you find?</blockquote><p>One of the main drawbacks of <em>symmetric</em> algorithms is that both parties need to know the key used before exchanging a message<em>.</em></p><p>Take <em>Alice </em>and<em> Bob, </em>they have to agree on which key to use before exchanging their first encrypted message and have to do it in a secure way too. Do they have to first meet alone to share the key before using it in an insecure scenario? Yes, because other channels may not be secure at all.</p><p>Also, what if <em>Eve</em> breaks the key? Alice and Bob have to agree on another one — and that means meeting again, which may not be possible. This is all very inconvenient!</p><p>Such algorithms cannot be used in any of the applications that require encryption that we mentioned above: imagine how different texting on Whatsapp would be if you had to share a dedicated secret key with every person in your address book to use proper <strong>end-2-end encryption</strong>…That sounds like a nightmare!</p><p>Lucky for us all, a few decades ago mathematicians came up with <strong>a new class of encryption algorithms</strong> that provide an elegant solution to this problem and open up to a whole new set of possible applications.</p><h3>Let’s Go Public</h3><p>Let’s pretend that building some sort of <strong>digital safe</strong> is somehow possible. To use it, anyone can grab a copy, put their message inside it, and lock it.</p><p>The digital safe is then sent back to users with regular/insecure mail. Anyone could intercept the safe, but no one can unlock it since the digital safe is very <strong>secure</strong> and there is no way to tamper it or recover its combination.</p><p>Only you, the intended recipient of the message, have the combination to unlock the safe and retrieve the message locked inside. Wouldn’t that be great?</p><p>With this fancy method anyone could <strong>send a message securely</strong> in the digital safe, even in an insecure environment.</p><p>No need for a secure channel to communicate, no in-person meet-ups… things would roll much more smoothly. In a nutshell, this is exactly what<strong> Public-Key Cryptography algorithms</strong> do.</p><p>Let’s break it down: these algorithms work differently — instead of having one key, they actually have two. One key is called the<strong> “Private key”</strong> or <strong>‘Pk’</strong> and the other the <strong>“public key” </strong>or <strong>‘pk’</strong>.</p><p>The public key is used to encrypt the message (i.e. it turns ‘M’ into ‘G’), while the private key is used to reverse the process and decrypt the ciphertext (i.e. it turns ‘G’ back into ‘M’).</p><p>Both <strong>Pk</strong> and <strong>pk</strong> are generated by one of the parties <em>(Alice)</em> who cleverly keeps her Private key for her eyes only, while sharing her Public key with anyone.</p><blockquote>The best thing is that Alice can share her Public Key with no worries, since there is no practical way (as of today) to grab a copy of the Public key and guess/determine the corresponding Private key.</blockquote><p>Thanks to <strong>Public-Key Cryptography</strong> Bob can use Alice’s public key and send her an encrypted message with the absolute certainty that only she can read it.</p><p><em>Asymmetric </em>encryption<em> </em>algorithms are called so as they are <strong>not reversible</strong> and need two different keys to perform two different operations.</p><p>The Whatsapp nightmare scenario we imagined before is now solved: any contact can share their public key with the whole list of people they want to chat with and use <strong>end-2-end encryption</strong>.</p><p>These algorithms are also the ones that allow secure <strong>web connections via HTTPS</strong> between our browser and the bank’s server.</p><p>Most <em>asymmetric</em> encryption algorithms are based on difficult mathematical problems and operations that are easy to solve in one way <strong>but virtually impossible to be reversed.</strong></p><blockquote>Let’s peek at a couple of examples. One well- known algorithm is called <strong>RSA</strong> and leverages the factorisation of very large numbers into two very large primes. Another is called <strong>ECDSA</strong> or “Elliptic Curve Digital Signature Algorithm” and it is based on elliptic curves… These are very complex math problems that require expert knowledge — we won’t go into details in this episode. Just remember that Math is on our side.</blockquote><p>Now you know what <em>asymmetric</em> algorithms are and can understand them in all their beauty.</p><blockquote>But where does the magic lie?</blockquote><h3>Adding Magic</h3><p>We said that public keys are used to encrypt messages and private keys to decrypt them. Truth is, it is not that simple.</p><p>In fact, public keys are also used to decrypt messages when they were encrypted using the same private key. Basically what one key does, the other undoes. But does this do any good?</p><p><em>If Bob encrypts a message for Alice with her public key, he is sure that Alice will be the only one able to read it.</em></p><blockquote><em>But what if someone was impersonating Bob? How can we avoid that?</em></blockquote><p>Let’s see the trick in all its steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRZHow5qok1IJiGjin6Kfw.jpeg" /></figure><blockquote>Alice is certain that Bob sent the message, since he is the only one who has the private key — both the sender and the receiver are guaranteed.</blockquote><p>Let us now have a closer look at an even better application: the <strong>digital signature.</strong></p><p><em>Bob</em> needs a signed document from <em>Alice</em>. <em>Alice</em> uses a <strong>hash function</strong> to obtain the <strong>digest</strong>.</p><blockquote>N.B. Hash functions can be thought of as a way to fingerprint a file and create a short value (let’s say 32 bytes) which depends on every single bit of the document. Two “nearly” identical documents with as little as a single bit apart will have different fingerprints or digests.</blockquote><p>Once <em>Alice</em> has the document digested, she encrypts it using her private key. The encrypted digest is nothing more than the <strong>signature</strong> that is sent to Bob along with the document.</p><p>Now <em>Bob</em> has received the document and signature, and can check them. He creates the document digest the same way <em>Alice</em> did, then decrypts the signature using <em>Alice</em>’s public key. Only if the two values match <em>Bob</em> can have a very high level of confidence that:</p><blockquote>the message he received is from Alice</blockquote><blockquote>- Alice did create the digest of that precise document</blockquote><blockquote>- the document was not edited since Alice signed it</blockquote><blockquote>- Alice signed it since she’s the only one with the matching private key.</blockquote><p>How cool is that?</p><h3>Practical applications</h3><p>Want to have fun with cryptographic algorithms? <strong>PGP</strong> (Pretty Good Privacy) and <strong>GPG</strong> (Gnu Privacy Guard) are two popular encryption programs that use Public-Key encryption.</p><p>You can start by generating your private/public keys and encrypt files with it to see how it works. Give your public key to your friends or just anybody!</p><p><strong>Keybase.io</strong> is a website and smartphone app that allows you to share your public key and use it in a bunch of different ways like having your git repository encrypted or chat privately.</p><p>If you want to use Public-Key encryption to secure your emails, <strong>Mailvelope</strong> is a browser extension that integrates with Gmail web application and performs encryption and decryption of the email messages very easily.</p><h3>How about Blockchain?</h3><p>If you are a Blockchain or cryptocurrency enthusiast, you’ve undoubtedly heard about<strong> private keys </strong>and their extreme relevance.</p><p>Public-Key encryption is in fact one of the key components of Blockchain <strong>security </strong>that comes into play whenever a transaction is made. In fact, each transaction has to be signed to prove that the account or wallet making the transaction is the actual owner of the digital assets involved.</p><p>In other words, to manage your cryptocurrencies you must first prove that they are yours — and to do that you must prove that your digital signature matches that of the known owner.</p><p>As you can see, Public-Key Cryptography is a key component in every one’s security and privacy and we are currently using it daily.</p><p><em>Did you enjoy this article? Subscribe &amp; don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a><em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e60b9cf854b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/series-quadrans-essentials-presents-the-beauty-and-magic-of-public-key-cryptography-8e60b9cf854b">Series: Quadrans Essentials Presents The Beauty and Magic of Public-Key Cryptography</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Series: Quadrans Essentials Brings You Post-Quantum Cryptography (a Movie on Secrets Vs.]]></title>
            <link>https://medium.com/quadrans/series-quadrans-essentials-brings-you-post-quantum-cryptography-a-movie-on-secrets-vs-dfe664520ba7?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/dfe664520ba7</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[post-quantum-cryptography]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Mon, 06 Jun 2022 07:41:13 GMT</pubDate>
            <atom:updated>2022-06-24T13:39:36.488Z</atom:updated>
            <content:encoded><![CDATA[<h3>Series: Quadrans Essentials Brings You Post-Quantum Cryptography (a Movie on Secrets Vs. Technology)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4v52BQGdxQji0sEoXw9_1A.jpeg" /></figure><p>In the second article of the <em>Series: Quadrans Essentials</em> we will take you on an exciting journey from the origins of Cryptography all the way to the current state of Post-Quantum Cryptography.</p><h3>First Thing First</h3><p>Considering that Cryptography is by no means an easy topic, jumping straight to today’s latest developments and challenges might be extremely confusing.</p><p>In fact, it would be like starting to watch a movie from the final scene while skipping over all the twists and turns of the century-long history that brought us to the current state.</p><p>To understand where we are heading, it’s fundamental to know where we come from. Let’s do this with a short story about Cryptography.</p><p>We have selected a few movies to support our explanation along the way — so get your popcorn ready!</p><p>In our story, <em>Alice</em> and <em>Bob</em> need to communicate privately using Cryptography and <em>Eve</em> is the antagonist who wants to spy on them.</p><h3>The Early Ages</h3><p>Cryptography is the part of Mathematics that helps us keep information private. Securely exchanging military information is a millennia-old problem that even Egyptian pharaohs and the Roman Empire had to face — that’s why one of the first methods ever used was named after Cesar himself.</p><p>The thing is, the only methods available back then were rather elementary and simple; they didn’t even come with<em> “passwords”</em>. These systems were not that different from the ones children make up in school while playing, and are just as easy to break.</p><blockquote>Note: Some people mistakenly use the word “Password” when the proper word to use is “Key”.</blockquote><p>Later on, the methods that were invented became progressively sophisticated and secure as Mathematics started playing an increasingly important role in designing, testing, securing, proofing, and of course, breaking those codes.</p><p>Cryptographic algorithms began to have standards and encryption keys. Some of the most widely known certainly include those that scrambled the alphabet over and over again.</p><p>All of these algorithms had one thing in common: they were <strong>symmetric</strong>, i.e. the key required to unscramble the message was the same used to scramble it. As you can imagine, this was not very efficient.</p><p>The main problem with <strong>symmetric encryption</strong> is that in order to communicate securely, two parties must exchange keys before sending the first encrypted message to each other, and this is a huge limitation.</p><p>Here’s the example with Alice and Bob.</p><blockquote>Alice and Bob must first meet in a safe place or use a secure channel (which they usually don’t have), verify each other’s identity, and agree on a key to use. Only after these necessary steps can they send secret messages to each other using the chosen key.</blockquote><p>With symmetric encryption alone, secure communication over the Internet (such as we use on a daily basis) cannot happen. In fact, any server should first agree to use a specific key with every browser in the world that might connect to it…</p><blockquote><strong>Can those symmetric codes be cracked? Sure thing!</strong></blockquote><p>The dominant approach to solving them is called <em>brute-forcing</em> and consists of testing lots of random keys as fast as possible until readable content is found.</p><p>With this method, time is crucial: <em>brute-forcing</em> will always be successful in the long run, but it can take a gazillion years with complex Cryptography, so what then? The secret may be revealed too late when it is no longer useful and relevant.</p><p><strong>Movie Hint #1:</strong> To get a better idea of the brute force race, check out the movie <a href="https://www.imdb.com/title/tt2084970">The Imitation Game</a> which details the story of how Alan Turing built and used Colossus to crack the Enigma code used by the Germans during World War II.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmfcpQ_d8K5Uj6kzh1iuIw.jpeg" /><figcaption>The Imitation Game (2014)</figcaption></figure><p>In this scenario, our <em>Alice</em> and <em>Bob</em> would be German troops, while <em>Eve</em> Her Majesty’s most advanced piece of machinery. This historical event is so fascinating that many great movies have been made about it.</p><p>A way to look at this event, which will come in handy later, is this:</p><blockquote><em>When the encryption was done using a (slow) mechanical instrument, the code was cracked using a (way faster) electronic device. The new technology was able to significantly reduce the time taken to overcome the difficulty of reversing the encryption, moving it from centuries to minutes.</em></blockquote><p>Keep that in mind for later.</p><h3>Going Public</h3><p>A new form of Cryptography was invented over time: <strong>Public-Key Cryptography</strong>. This new approach is strongly based on Mathematics and involves the use of two keys: one to encrypt the message (the public key) and one to decrypt the message (the private key).</p><p>Returning to our example: now <em>Alice</em> can give <em>Bob</em> her public key out in the open, without worrying about being seen by <em>Eve</em> or anyone else. Why? Because the public key can only be used to encrypt a message intended for <em>Alice</em>, and she can share it over an “insecure” channel without concern since the only way to decrypt the message is via the private key that <em>Alice</em> cleverly keeps to herself.</p><p>In very simple words, this is how we can communicate securely over the Internet. In fact, any server can talk privately to any browser without them having to agree or exchange anything first.</p><p>The security lies in the fact that anyone with a public key can use it, but there is no way to guess, extract or compute the private key from the public key.</p><p>Or is there? Maybe someday? Maybe… with a <strong>Quantum computer</strong>?</p><h3>Enter the Quantum Era</h3><p>Quantum computers are computers that do not use regular chips or simple <em>Boolean logic </em>but are rather based on <strong>Quantum Physics.</strong></p><p>How do Quantum computers work? Again, here we give you a super-short version: these computers do not use “bits” (the famous “zeros and ones”) but qubits, or quantum bits.</p><p>A qubit can be in a complex state or value called <em>superposition</em>: it could be both zero and one at the same time with different probabilities.</p><p>If you’ve ever heard of <em>Shroedinger’s Cat Paradox</em> — the cat in the box which is both dead and alive — that’s a qubit. If you haven’t heard of it, you need to catch up on <a href="https://www.imdb.com/title/tt0898266/">The Big Bang Theory</a>. All 10 seasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*c_IuvlUGsqbEtvd4Y9w7YQ.jpeg" /><figcaption>Quantum Cat by PHONEKY</figcaption></figure><p>A common misconception is that “Quantum Computers are faster at <em>brute-forcing</em>,” or that “Quantum computers work by trying every possible combination at once.”</p><p>This is false<strong> </strong>and a dire way to explain Quantum computing that will ultimately lead to false conclusions.</p><blockquote>If this were true, then Quantum computers would be faster than classical computers for every problem in the world, and that’s not the case!</blockquote><p>Let’s just say that Quantum is a whole new way of doing Mathematics that could lead to huge shortcuts in finding solutions to specific problems.</p><p>But here’s the catch: it just happens that Quantum Computers take shortcuts in solving exactly the problems that modern public-key Cryptography is based on!</p><p>Here we potentially see history repeating itself. Remember Colossus cracking Enigma?</p><blockquote>Quantum computers could potentially be to modern days public key encryption algorithms what Colossus was to Enigma — <em>game over</em>.</blockquote><p>If Quantum computers could significantly reduce the time it takes to <strong>reverse modern public-key Cryptography…</strong> That would be Armageddon of secrets, privacy, secure communication, secure online shopping, not to mention the secrets of many states.</p><p><strong>Movie Hint #2:</strong> To understand what the end of encryption and privacy could mean, take a look at the old-but-gold <a href="https://www.imdb.com/title/tt0105435/">Sneakers</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*NMHPtLGQrc2SpWuA9SJWhQ.jpeg" /><figcaption>Sneakers (1992)</figcaption></figure><p>Does this scare you? Well, then you realise the implications and consequences of this in the big picture. But don’t panic, we’re not there yet, although we will eventually.</p><p>Quantum computers today are very expensive, hard to engineer, even harder to manufacture, they are bigger than normal computers, more fragile, and they have to be built to solve a specific problem and run a specific algorithm (they are not general-purpose), and sometimes they even get the wrong results. But isn’t that always the case with the newest tech?</p><p>There are those who claim based on rumours and some questionable conspiracy theories that nations and advanced technology corporations may be hiding or lowering the true level of Quantum computing they have achieved to disguise their advantage and keep others in the dark.</p><p>Other rumours picture the attackers opting for another strategy, that is to record and keep the encrypted data that nowadays cannot be decoded yet, to decrypt them later with a Quantum computer — when they can get their hands on it.</p><p>This is the point where we finally get to…</p><h3>Post-Quantum Cryptography</h3><p>With Quantum Physics threatening modern Cryptography, new algorithms to protect our secrets must be built to deal with the Quantum threat. That’s what Post-Quantum Cryptography is for.</p><blockquote><strong><em>Post-Quantum Cryptography is defined as “classical Cryptography that withstands attacks from a large Quantum computer.”</em></strong></blockquote><p>Beware of the word <em>classical</em> here.</p><p>Classical Cryptography doesn’t use any Quantum properties and doesn’t need any specialised Quantum hardware as it is based on hard mathematical problems (like the Cryptography we have today) that are not vulnerable to Quantum computer attacks.</p><p>All computers are tools for doing calculations — since not all calculations are equal, some computers are better for some calculations than others.</p><p>Quantum computers are significantly better than today’s ordinary computers at solving some very specific sorts of problems but are simply useless at others.</p><p>For example, a Quantum computer has nothing to do with:</p><p><em>✔</em> <strong>Real-time control. </strong>Not having any ability for I/O of any sort, a Quantum computer has no capability for controlling real-time devices, such as process control for an industrial plant. Any real-time control would have to be made by a classical computer;</p><p><em>✔</em> <strong>Media playback or recording;</strong></p><p><em>✔</em> <strong>Real-time media processing;</strong></p><p><em>✔</em> <strong>Financial transactions </strong>— where balances must be maintained precisely to the penny. Financial applications of a more approximate and statistical nature (e.g., portfolio rebalancing and trade settlement allocation) are more appropriate for Quantum computing.</p><p>To avoid being vulnerable to Quantum computer attacks, Post Quantum Cryptography builds <strong>specific cryptographic algorithms</strong> to tackle those problems that Quantum computers themselves are weak at solving.</p><p>In late 2016, the <a href="https://www.nist.gov/">National Institute for Standard and Technology</a> (NIST) ran a competition for <strong>Post-Quantum Cryptography Standardisation</strong> to find new suitable Quantum resistant public key encryption algorithms to replace the existing ones.</p><p>Long story short, here’s what a good Post-Quantum encryption algorithm should do:</p><blockquote>✔ Resist the attacks of Quantum computing;</blockquote><blockquote>✔ Resist the attacks of classical computing;</blockquote><blockquote>✔ Be fast as communication cannot be slowed down;</blockquote><blockquote><em>✔ </em>Run on devices with limited computing resources such as browsers, network devices, smartphones, sensors, IoT devices, etc.</blockquote><p>Post-Quantum Cryptography should not be confused with Quantum Cryptography. They are not the same thing, nor are they to be imagined as one being consequential to the other.</p><p><strong>Quantum cryptography</strong> is Cryptography that uses Quantum computers with specialised equipment such as photon detectors, beam splitters, etc. to do encryption or key distribution.</p><p>While <strong>Post-Quantum</strong> encryption needs to work on your phone, Quantum Cryptography never will. They are different in terms of scope, purpose, role, and technology used.</p><h3>Wrapping all up</h3><p>Leveraging technology and Mathematics to unlock our deepest secrets… Cryptography is such a fascinating and challenging subject that it has yet to stop inspiring a long line of cinematic masterpieces.</p><p>Cryptography is key for countless applications we use on a daily basis to ensure security and privacy. In fact, our finances, money, nations, and freedom rely on it.</p><p>When one of the players in this arms race (Technology and Physics) unleashes a new weapon (the Quantum computer) that could disrupt the rules of the game and put everything at risk, another player (Mathematics) has to bridge the gap and come up with a new strategy, a new way of doing things, or even a new battleground to restore balance for the benefit of all.</p><p>That’s what <strong>Post-Quantum Cryptography</strong> does — it brings a new set of problems that the new challengers can’t solve, keeping the previous players (our browsers, banks, smartphones) in play. Isn’t that brilliant?</p><p>Today we use public-key Cryptography on a daily basis without even knowing it or realising it. In the years to come, the same thing will gradually happen with Post-Quantum.</p><p>It just makes us wonder what exciting new movies will come out then…</p><p><em>Did you enjoy this article? Don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a><em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfe664520ba7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/series-quadrans-essentials-brings-you-post-quantum-cryptography-a-movie-on-secrets-vs-dfe664520ba7">Series: Quadrans Essentials Brings You Post-Quantum Cryptography (a Movie on Secrets Vs.</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Series: Quadrans Essentials Unveils the Beauty and Magic of Peer-to-Peer Networks (P2P)]]></title>
            <link>https://medium.com/quadrans/series-quadrans-essentials-unveils-the-beauty-and-magic-of-peer-to-peer-networks-p2p-166dfe79b4a4?source=rss----fc0e90cc1b2b---4</link>
            <guid isPermaLink="false">https://medium.com/p/166dfe79b4a4</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Quadrans]]></dc:creator>
            <pubDate>Tue, 31 May 2022 13:06:24 GMT</pubDate>
            <atom:updated>2022-06-24T13:38:50.524Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6DqoR0I5ncnBSu9vDgdLfw.jpeg" /></figure><p>The <em>Series: Quadrans Essentials</em> explores the different technologies and foundations of Quadrans Blockchain and the entire Blockchain/Web3 revolution that is reshaping the web today.</p><p>Blockchain technology and Decentralization have a very profound impact on the web that is certainly not easy to grasp at first glance.</p><p>Let’s start the process with a clear understanding of the key concepts behind this revolution. Understanding how to combine these key concepts will require additional effort as you unravel the big picture.</p><p>In this first article, we will dig deeper into <strong>Peer-to-Peer networks</strong>, also known as P2P.</p><h3>P2P Vs. Traditional Networks</h3><p>P2P networks have been around for about 20 years now, yet for some types of applications and solutions they are still considered “new”.</p><p>This is because they significantly differ from the old, traditional ways of building and managing networks.</p><blockquote>What’s different about P2P networks?</blockquote><p>A traditional network typically follows a centralized model, also known as the <em>client-server model.</em></p><p>This is the model used when a browser points to a website and where one or a few nodes in the network called <em>servers</em> are responsible for all functionalities — such as access control, storing and retrieving data using a database, and more.</p><p>All other nodes in the network are called <em>clients</em> and can produce data that will be sent and stored on the server(s), retrieve data from the server according to the permission granted, request functions from the servers, and so on.</p><p>In this model, <em>clients</em> cannot directly exchange information with each other but must necessarily interact with a <em>server</em> since it contains all the data and features.</p><p>Centralized networks take the form of a star — the server(s) is located in the center and from the center all connections to the <em>clients</em> start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*fhOwqK4Zm_PvSE_y5wGNRg.jpeg" /><figcaption>Shape of a Centralized Network (Star)</figcaption></figure><p>On the other hand, the P2P network model is fundamentally different — it is decentralized, or distributed.</p><p>Each node in a Peer-to-Peer network can be connected to a number of other equivalent nodes, making the network topology look more like a mesh that can constantly change its shape since its shape is not relevant to the functionality of the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*RmODBptPUz8-7Sd1snoLiw.jpeg" /><figcaption>Shape of a Distributed Network (Mesh)</figcaption></figure><p>In a distributed network, each node is both a <em>server</em> and a <em>client</em> at the same time, meaning that the node can perform all <em>client</em> functions but also need to share a part of the work that was previously done by the <em>server</em>.</p><p>As the name suggests, all nodes are “peers” and are equally important to the network.</p><p>These are some of the characteristics that make a Peer-to-Peer system unique and Blockchain technology is nothing but a specific use of this model.</p><h3>How P2P works</h3><p>The core of the P2P network lies in the <strong>protocol</strong>. According to the rules of the protocol, any node can turn on, look for other peers in the same P2P network and ask to connect to them.</p><p>This is called the <em>discovery phase</em> or <em>startup phase</em> and can be done in a lot of different ways. Once the node is connected to one or more nodes, it will begin exchanging information with them and providing certain services to the other nodes. Let’s take an example:</p><blockquote>Imagine a P2P network like a large global phone book. Each node participating in this application shares phone numbers with other nodes, but what if a node asks for a phone number it doesn’t know?</blockquote><blockquote>Node “A” needs Satoshi Nakamoto’s phone number but (it goes without saying) doesn’t have it in its local set of numbers.</blockquote><blockquote>So it asks the peer nodes to which it is connected “B,C,D” if they have it.</blockquote><blockquote>If a node had it, it would send back a response with the number, but again neither “B,C nor D” (distance 1 hop) actually have this information.</blockquote><blockquote>The request spreads to the whole network, as nodes asks each other for the response.</blockquote><blockquote>This “peer asks other peers” method is often called <em>gossip protocol</em> as it spreads through the entire network like waves formed by a stone dropped into a pond.</blockquote><blockquote>If none of the nodes had the requested information, the request would eventually die. But if a node does have the information, it will respond to the node that requested it . The requested information will travel backwards all the way to node “A” which will eventually get the information.</blockquote><blockquote>Once node “A” receives it, it will probably update its local set of phone numbers and include Satoshi’s number. This way, it will not have to repeat the same request in the future and will be able to respond to other nodes that may later ask for it.</blockquote><blockquote>Optionally, nodes that routed the request and received the response could choose to do the same.</blockquote><h3>Characteristics &amp; Benefits</h3><p>Some of the relevant features that make the P2P network unique have already been partially unveiled. Let’s add a couple more:</p><p>✔<strong> P2P networks are much more democratic than centralized networks.</strong> There is no server that is “more equal” to the others — no client can be kicked off the network or permanently denied the information or service they need.</p><p>✔ <strong>P2P networks are resilient and fault-tolerant.</strong> In the traditional <em>client-server</em> model, the server represents a single point of failure — any incident or hostile entity could prevent all <em>clients</em> from accessing the service simply by hacking or shutting down the <em>server</em>… just like the last time you weren’t able to access your social media account or email service because they were down.</p><p>✔ <strong>P2P networks are easier and cheaper to manage.</strong> The lack of a central structure to do all the heavy lifting makes P2P networks lighter and more agile.</p><h3>Once Upon a Time, There Was a Network…</h3><p>Let’s salute the protocols that made history. The first P2P Network to reach a wide user base was <strong>Napster</strong> in 1999, a file-sharing platform mainly used to share MP3 music and movie files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7v37XlXKD2ccOom_sONSqw.png" /><figcaption>Napster Logo</figcaption></figure><p>Most of the files on Napster were shared illegally and major music companies had a very hard time trying to shut down the global network — but they eventually succeeded. This was possible because Napster was not 100% decentralized and some servers were still needed at the time.</p><p>Following this event, a significant number of different protocols were born (Kazaa, Gnutella, Emule, Morpheus, Kademlia…) with new characteristics and increasingly decentralized models. Their game was to make it impossible for anyone to shut them all down.</p><p>This led to a temporary crisis in the Music Industry that eventually turned out to be positive and led to a radical change in the business model of the entire industry and the birth of many streaming platforms.</p><p>Today, the most used protocol is probably <strong>BitTorrent.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJo2CfY5ZaSfZJ3zyWG8Cw.png" /><figcaption>BitTorrent Logo</figcaption></figure><p>P2P networks can be considered quite <strong>disruptive</strong> as they have forced a number of major changes in most of the fields in which they have been applied.</p><p>Because of their censorship-resistant nature, the P2P networks have also been used to develop privacy-oriented networks such as <strong>Tor, Freenet, and I2P.</strong></p><p>Even the world of finance was not immune to the wave of change brought by P2P networks when Bitcoin arrived in 2009.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*meS5ct-XJfdSGSSDHplE6g.jpeg" /><figcaption>Bitcoin Logo</figcaption></figure><blockquote><strong><em>It took only 10 years for P2P networks to bring sweeping changes to most of the fields in which they were applied.</em></strong></blockquote><h3>Blockchains and Other Examples</h3><p>Nowadays, P2P networks are everywhere — it’s really amazing to see the different fields of applications ranging from file-sharing and hosting, web browsing, chat applications, and even databases.</p><blockquote><strong>Public Blockchains</strong> are probably the most striking example of P2P network usage — part of their unstoppable and immutable nature stems from the very P2P networks on which they are built.</blockquote><p>Each node on the Blockchain has a complete copy of the data which makes it unnecessary to make backups of an individual node or the Blockchain itself.</p><p><strong>This means resilience.</strong> Blockchains can withstand large disruptions — even if 90% of the nodes went offline, there would be no serious consequences for the Blockchain as a whole.</p><p>The <a href="https://ipfs.io/"><em>Inter-Planetary File System (IPFS)</em></a> is decentralized file storage where anyone can upload a file and share some of its disk space. Files are indexed by content, not by name, cannot be changed once uploaded, and are potentially stored forever.</p><p>Since the files are immutable, it is commonly used in conjunction with dApps and other Blockchain applications to store off-chain data such as <em>NFT metadata, documents, etc.</em></p><p>But do you remember the early applications of P2P networks? They were primarily used for <strong>file sharing</strong>, so they were not fundamentally different from a distributed, searchable file repository.</p><p>If we think of files as just data, it’s natural to think that we could also have P2P databases. This is the case with <a href="https://orbitdb.org/"><strong>OrbitDB</strong></a>, an IPFS-based database that could be used for certain NoSQL functions such as a document store, a distributed key-value store, or a hash table.</p><p>If this article has inspired you to create your own P2P application, we highly recommend you take a look at <a href="https://libp2p.io/"><strong>LibP2P</strong></a> — a library that allows you to focus on the protocol, features, and application, taking care of the entire underlying network layer.</p><p><em>Did you enjoy this article? Subscribe &amp; don’t miss the next episodes in the </em>Series: Quadrans Essentials.</p><p><em>Join the Quadrans community on </em><a href="https://twitter.com/quadrans"><em>Twitter</em></a><em>, </em><a href="https://t.me/quadrans"><em>Telegram</em></a><em> and </em><a href="https://www.reddit.com/r/Quadrans/"><em>Reddit</em></a><em>! </em>❤️</p><p><em>Are you a Blockchain Developer? Join us on </em><a href="https://github.com/quadrans"><em>Github</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=166dfe79b4a4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quadrans/series-quadrans-essentials-unveils-the-beauty-and-magic-of-peer-to-peer-networks-p2p-166dfe79b4a4">Series: Quadrans Essentials Unveils the Beauty and Magic of Peer-to-Peer Networks (P2P)</a> was originally published in <a href="https://medium.com/quadrans">Quadrans</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>