https://www.21analytics.ch/blog/spirals-homomorphic-encryption-is-this-the-future-of-privacy/ 21 Analytics logo ProductArrow Link Global Icon Overview Your most complete, flexible and secure Travel Rule solution. Check Overview Tiers Icon Tiers Find out what is included and which plans work best for you. View Tiers Use Cases Wallet Icon Unhosted Wallet Verification Verify proof of address ownership in 1-click with AOPP's 100% accuracy. Gear Icon Travel Rule Automation Set up business rules and free your team from manual work. Multiprotocol Icon Multiprotocol Keep transacting with any business by connecting to all Travel Rule protocols. Security Icon Data Security Remove data risks by leveraging an on-premises solution where you own and control your data. Search File Icon Transaction Monitoring Identify transfer statuses and risks with all Travel Rule information in one place. Product Family Star Icon 21 Travel Rule The only Travel Rule solution that guarantees GDPR-compliance. Add Customer Icon 21 Virtual Counter Request Travel Rule data with no extra development needed. Sunrise Icon 21 Sunrise Keep transacting with any VASP, whether they have a Travel Rule solution in place or not. Docs Icon Product Documentation ConsultingArrow Link Profile Icon Business Consulting External Link Smart Contract Audits Travel Rule Regulations ResourcesArrow Link Knowledge TRP Header Icon What Is TRP? Wallet Icon Unhosted Wallets Workflow Icon TFR Workflow Glossary Icon Glossary External Link AOPP Tools External Link IVMS Validator External Link LEI Generator Blog CompanyArrow Link Profile Icon About Group Icon Partners Mail Icon Contact Request a Demo inner blog-Spirals-Homomorphic-Encryption Back Button Icon Back Spiral's Homomorphic Encryption - Is This the Future of Privacy? 01 Nov, 2022 Privacy is a tricky thing. Easy to lose, hard to get back. It is common knowledge that you should not publish a Bitcoin address you control. Nor should you reuse the same address twice. But there are many more ways in which you can adversely affect your privacy. This holds for individuals but, to an even greater extent, companies. Today I was delighted to read about Spiral. Software-as-a-Service is a great thing. Almost all software is run by someone else for you to use. Sometimes even free of charge. That does mean you are the product. And there's the rub. To what extent are you willing to trade away your privacy in exchange for service? Even if you pay for a service, there's no guarantee you are not also giving away your privacy. VPN providers are a nice example. Many will tell you they don't store user information. But who's to say that is true? Enter Spiral. In their own words: "A database that cannot learn which rows you read." They claim that they can run a database for you that you can query and that they do not know what you have searched for. This sounds like magic, and in many ways, it is. To quote my favourite sci-fi author Arthur C. Clarke: "Any sufficiently advanced technology is indistinguishable from magic." How Does Homomorphic Encryption Work? Normally I'm highly sceptical about these kinds of claims. But this time, there might be something to it. Spiral uses homomorphic encryption, a relatively new technology that has a lot of promise. A promise partly fulfilled! It works like this: Imagine you want to calculate the result of the super secret equation "1 + 2". You don't have the resources to do that, and you want someone else to do that for you. You could give it to me, but then I would learn about your super secret equation. Homomorphic encryption fixes that for you! You can encrypt "1" and "2" and give me the encrypted versions and tell me to sum it. Here's the kicker: I can now calculate the result without learning either the inputs or the result! I then give you back the encrypted result that you can then decrypt. If this isn't magic, I don't know what is. Of course, my little example is silly. For a long time, homomorphic encryption was mainly academic and confined to these types of examples. But steady progress makes it more practical. Spiral is an example thereof. What Are the Drawbacks of Homomorphic Encryption? That is not to say that homomorphic encryption is without drawbacks. In fact, the shortcomings are significant. For example, performing operations on the (encrypted) data is much slower. Spiral mentions a 1.9x increase in costs when streaming video. The data exchanged, as a rule, is also much larger. Spiral's Wikipedia search engine uploads 18MB of data in the first query (but much less on subsequent queries). This used to be much worse. For certain applications, the tradeoffs might be worth it now. Spiral runs a block explorer for anyone to query. You enter a Bitcoin address, which returns the balance held by that address. This is an excellent example of a situation where you (or your company) would want to maintain privacy. A popular block explorer like Blockchair knows who (or what IP address) is interested in certain addresses. How often do they check, and when? Another example that I would like to see implemented is a private on-chain analytics tool. All VASPs rely on firms like Coinfirm to tell them about the risk associated with a particular address. Chainalysis is known to have close ties with the American government. It is not always desirable to let them know in what addresses you are interested. Solutions like Cheksy address this issue but via a detour. Written by: Harm Aarts Harm Aarts Senior Software Engineer Email | LinkedIn | GitHub Linkedin Logo Feedly Icon Telegram Logo Copy Link Icon Back Button Icon Back Linkedin Logo Feedly Icon Telegram Logo Copy Link Icon 21 Analytics footer logo 21 Analytics offers Software Solutions for Virtual Asset Service Providers. Privacy Policy Press Poststrasse 22, Zug, Switzerland | info@21analytics.ch Linkedin Logo Telegram Logo Just like our Travel Rule solution, our website also respects your privacy. That is why we don't use any tracking cookies. Ok, nice!