<?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[Stories by Adam Stradling on Medium]]></title>
        <description><![CDATA[Stories by Adam Stradling on Medium]]></description>
        <link>https://medium.com/@AdamStradling?source=rss-f3877768d2ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Wz-MZYTwRoOStE7r.png</url>
            <title>Stories by Adam Stradling on Medium</title>
            <link>https://medium.com/@AdamStradling?source=rss-f3877768d2ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 13:26:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AdamStradling/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cryptographic Solutions to the Private vs Public Blockchain Debate]]></title>
            <link>https://medium.com/@AdamStradling/cryptographic-solutions-to-the-private-vs-public-blockchain-debate-78c75194205?source=rss-f3877768d2ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/78c75194205</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Adam Stradling]]></dc:creator>
            <pubDate>Sat, 24 Oct 2015 15:52:45 GMT</pubDate>
            <atom:updated>2015-10-25T12:23:13.873Z</atom:updated>
            <content:encoded><![CDATA[<p>There is an ongoing discussion about the security of so-called “private” blockchains. The industry has started to realize that privacy is important for both consumer and business applications of blockchain technology.</p><p>The debate centers around the construction of these private blockchains, which so far, have come at the expense of important security features existing in “public” blockchains. What the <em>majority</em> of the industry is missing is that there are cryptosystems designed to accomplish privacy without sacrificing security. Actually, the design of these cryptosystems has been one of the most important scientific challenges in modern cryptography over the last twenty plus years. These cryptosystems are broadly defined as Privacy Preserving Cryptosystem (PPCS) and the <em>most popular</em> approaches include Homomorphic Encryption (HE), Multi-Party Computing (MPC), Searchable Encryption (SE), and Blind Signalling and Response (BSR).</p><p>In this blog post, I want to help <em>non-cryptographers </em>(this is nothing new to cryptographers) in the blockchain world understand that these alternatives can provide privacy features without sacrificing security. Albeit, there are other tradeoffs, like computational speed, system complexity, and many more. This post is a very basic introduction to these concepts.</p><p>Let’s define the problem, starting with a quick summary of the Public vs Private blockchain debate. The current debate centers around toggling between a few important security features of public blockchains, which stated broadly, are: permissioned vs permissionless for either/both reading or writing to the blockchain; level of decentralization mainly based on the consensus mechanism design (anonymous vs trusted/identity, other); level of openness in the code-base (open or not, staggered release, or some other blend). There are a few other security features which I believe are also important, but the latter are discussed most.</p><p>The principal observation is that if one creates a blockchain that is fully permissioned, centralized, and closed-source, you really don’t have a “blockchain” at all. Instead, you simply have a “standard database” and/or “standard technology stack” (e.g. an intranet, SWIFT, etc). Why? Because you’ve returned control of the database/stack to a Trusted Third Party (TTP), who can act maliciously. On the other hand, the Bitcoin blockchain is a permissionless, decentralized, open-source database/stack which eliminates the TTP and protects against many types of malicious attacks. At least this is how it’s designed in theory. In practice, <em>thus far</em>, it has worked, more or less.</p><p>I believe the level of security you need for a technology stack depends on your specific application. Ripple is a great example of how you can still innovate on a technology stack using a combination of the aforementioned factors, rather than all of them, as Bitcoin does. Conversely, I can see standard databases/stacks — which simply have new features based on modern cryptographic primitives — also being innovative and useful. For example, the foundational work relating to PPCSs serves as a great example of how a standard database/stack can be improved by the application of modern cryptography.</p><p>To ensure the audience fully understands what is meant by privacy in these systems, I’m going to give some really simple examples of what it can do.</p><p>Let’s say that two people are playing the classic game Rock, Scissors, Paper with each other. On the count of three, each person chooses either rock, scissors, or paper. The results of their choices are <em>publicly</em> shared with each other simultaneously. From which, the players are able to calculate who the winner is based on the rules of the game: paper covers rock, scissors cuts paper, and rock smashes scissors. There is no dispute over who the winner is since both choices are <em>publicly announced</em> in front of each other simultaneously. What if, however, both players were to keep their choices hidden for privacy reasons. How would we compute the winner? We could employ the services of a TTP to privately receive the submissions of each player, calculate the results, and declare the winner. Of course, using a TTP is how the world currently works, and since we’re trying to change the world, we will need to do better than that. Instead, to determine the winner, we could use a number of the aforementioned PPCSs. If we used homomorphic encryption, then each player could electronically submit their choices in what’s called a Pedersen commitment, designed to maintain privacy and enforce tamper-resistant non-repudiation. Then, using another crypto tool called zero knowledge proofs, we could compute the results without ever <em>opening or revealing</em> the contents of the encrypted files. This entire process could be executed ‘publicly’ while the inputs remain private. In that way, we can we mathematically certain of the systems security and authenticity. I wonder if these systems should be called ‘Publicy Private Blockchains’.</p><p>The next example is very popular in the literature surrounding this topic. Say that you have a database of patient medical records and let’s say that an external research agency is doing a study to identify early signs of cancer in patients (or some other important medical study). By law (i.e. HIPPA compliance), these records must be stored in an encrypted format to preserve privacy and other reasons. Therefore, it’ll be challenging for this organization to get access to this data. However, using concepts in various PPCSs, this research group could run calculations on the data while it stays in its encrypted format.</p><p>To recap, both of these problems could be approached using different PPCSs, each of which will have their own strengths and weaknesses depending on what you’re specifically trying to accomplish. There is a vast amount of both academic and industrial research related to these cryptosystems and we’re just recently starting to see usable products emerge; the field has matured scientifically over the years. Conversely, there is very little research, or products, related to how these cryptosystems can be improved by merging them with blockchain systems, which is a main focus of my research and upcoming blog posts.</p><p>It should now be clear, generally, what I mean by privacy in these systems. Of course, the details of how this occurs are the subjects of volumes of literature. Here is a good place to start <a href="http://bit.ly/1MV8zpy">http://bit.ly/1MV8zpy</a>. Good luck!</p><p>I see privacy-preserving cryptosystems being fundamental to all blockchains as they evolve. If your blockchain doesn’t have privacy features, it will automatically eliminate itself from an enormous range of important applications (e.g. many institutional financial applications). Although this is an exciting realisation, the path to developing usable and secure products is fraught with pitfalls involving technical feasibility, tradeoffs between various PPCS approaches, process and incentive models, and many other considerations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78c75194205" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Main Questions for Evaluating Products Based on Privacy Preserving Blockchain Systems]]></title>
            <link>https://medium.com/@AdamStradling/main-questions-for-evaluating-products-based-on-privacy-preserving-blockchain-systems-592007581bb0?source=rss-f3877768d2ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/592007581bb0</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Adam Stradling]]></dc:creator>
            <pubDate>Wed, 07 Oct 2015 21:30:31 GMT</pubDate>
            <atom:updated>2016-02-21T16:36:23.342Z</atom:updated>
            <content:encoded><![CDATA[<p>This post has been created as a primer to <a href="http://www.meetup.com/BitDevsNYC/events/225374509/">Wednesday’s Meet Up in NYC</a> at <a href="https://www.sldx.com/">SolidX</a> about <a href="http://enigma.media.mit.edu/enigma_full.pdf">The Enigma Project</a>. It’s a shortened version of research I’ve been conducting into the topic. My research focuses on evaluating the feasibility of products enabled by the application of privacy-preserving cryptography to blockchain systems. In my research, I take a business and product-centric approach by examining criteria like 1) addressable market, 2) technical/scientific feasibility, 3) engineering efforts for MVPs, 4) consumer behaviours, 5) red tape and regulatory barriers, 6) marketing strategies and other similar considerations. Thus far, I’ve applied this framework to audit and accounting systems, social and reputation processes, selected financial applications, and gambling ideas. I’ll be sharing specific results in upcoming blog posts.</p><p>This specific blog post focuses on the most important questions which arose when I first began researching this topic. I’ve been able to answer most of these questions and apply them in my research. I’m very interested in getting feedback and finding others who are looking at this topic, so please reach out at the event. I’ll be wearing a green t-shirt with the <a href="http://vignette3.wikia.nocookie.net/greenlantern/images/1/12/Green_Lantern-2.jpg/revision/latest?cb=20081224201107">Green Lantern</a> symbol on it. You can also find me on twitter @adamstradling.</p><h4>Technical Feasibility — Theoretical vs Proven</h4><p>MPC and other privacy preserving crypto-systems (PPCS) are a well-researched topic in cryptography, with initial investigations dating back more than <a href="http://research.cs.wisc.edu/areas/sec/yao1982-ocr.pdf">20 years</a>. This topic is considered to be one of the most important problems in cryptography.</p><p>Up until a few years ago, researchers agreed that many real-world applications of MPC were impractical because 1) MPC protocols were/are very inefficient, 2) creating reliable security proofs was difficult, and 3) <a href="http://u.cs.biu.ac.il/~orlandi/icassp-draft.pdf">other reasons</a>. Fortunately, even without blockchains, consensus between researchers indicates that these concepts are starting to move from theoretical to practical. As the Enigma paper explains, with the combination blockchains, smart contracts, and crypto-currencies, even more applications will become feasible. However, as I hope to demonstrate in this post, and my follow-up research, there are still many challenges and important considerations that can render certain products either useful or useless.</p><p>Here are some important questions to answer when examining the technical feasibility of a product.</p><p>Which protocols do researchers agree are practical? How did they come to this consensus? What actual tests or implementations have occurred? What were the results?</p><p>What attributes cause a certain protocol to become “practical”? What are the main attack vectors and weaknesses of insecure protocols? Which of these weaknesses will blockchains, etc, solve and why? Which specific protocols are the most efficient, today?</p><h4>Tradeoffs Between Different Privacy Preserving Cryptographic Systems (PPCS)</h4><p>There are other approaches that differ from multi-party computing (MPC); the basis for Enigma’s solution. The most popular approaches are <a href="https://en.wikipedia.org/wiki/Homomorphic_encryption">Homomorphic Encryption</a> (HE), <a href="https://en.wikipedia.org/wiki/Zero-knowledge_proof">Zero-Knowledge Proofs</a> (ZKproofs), <a href="https://en.wikipedia.org/wiki/Deterministic_encryption#database_searching_of_encrypted_data">Searchable Encryption</a> (SE), <a href="https://en.wikipedia.org/wiki/Ring_signature">Ring/Group Signatures</a> (RS), <a href="http://blog.cryptographyengineering.com/2014/02/cryptographic-obfuscation-and.html">Obfuscation</a> (CO), and <a href="https://en.wikipedia.org/wiki/Blind_credential">Blind</a> Signaling and Response (BSR). These approaches are not mutually exclusive and are often combined in various protocols.</p><p>Relating to blockchain systems, there has been chatter about these topics from Maxwell, Back, Todd, myself, and others since <a href="https://bitcointalk.org/index.php?topic=205999.0">2013</a>. In 2013, I started working with a PhD in cryptography researching how to build a fully decentralized audit and data authentication system. I gave <a href="http://www.podcast.de/episode/240432193/LTB+E98+-+Johnstons%27+Law/">an interview</a> on Let’s Talk Bitcoin about this subject in March 2014. Since as early as 2012, there have been a few coins which have implemented some of these concepts, specifically: <a href="https://bytecoin.org/">Bytecoin</a>, <a href="https://getmonero.org/home">Monero</a>, <a href="https://www.dashpay.io/">Dash</a>, and <a href="http://zerocash-project.org/">Zerocash</a>. Regarding Bitcoin, Blockstream recently published <a href="https://people.xiph.org/~greg/confidential_values.txt">Confidential Transactions</a> as part of the <a href="https://github.com/ElementsProject/secp256k1-zkp">Elements</a> project. Essentially, CT is an implementation of HE applied to Bitcoin. Another very interesting project which uses MPC + blockchains is called <a href="https://eprint.iacr.org/2015/675.pdf">Hawk</a>, and comes as a collaboration from researchers at Cornell and the University of Maryland. It <em>currently has</em> a working prototype.</p><p>Outside of the blockchain world, I only located a few startups who are pursuing the application of these approaches to standard database operations. They are <a href="https://www.kryptnostic.com/home">Krypnostic</a> , <a href="http://www.zerodb.io/">ZeroDB</a>, and <a href="https://sepior.com/about/">Sepior</a></p><p>Here are some important questions to answer when understanding the tradeoffs between these approaches.</p><p>What are the main security models for each approach? What are the main assumptions that these models operate under? Across each of the most popular PPCSs, what are the most well-defined and practical methods? How do these approaches compare computationally?</p><h4>Incentive Systems</h4><p>In Enigma, and other proposals, an important weakness of MPC systems is solved through posting bitcoin collateral into a smart contract that penalizes cheaters by confiscating the collateral. In many applications, this does improve the MPC protocol, but there are some drawbacks to this approach which make it unsuitable for certain applications.</p><p>First, whenever you require users to post bitcoin as collateral you automatically introduce a new cost to using the service; the volatility cost of holding bitcoin. Even with the advent of efficient hedging tools for bitcoin (which have constraints) an incremental cost will always be incurred. Therefore, one must understand this cost when designing products as it will ultimately to be passed on to the customer.</p><p>Second, this approach does introduce game theoretical aspects into the products feasibility. For example, what if the cost to cheat is significantly less than the expected value of cheating. There are many applications in the financial sphere where the current proposal is designed perfectly, except that the exact value of cheating is hard to estimate. Therefore, it’d be difficult to set collateral levels appropriately. Just to give you an example, simply look at what happens in the current financial system when <a href="http://www.nytimes.com/2015/05/21/business/dealbook/5-big-banks-to-pay-billions-and-plead-guilty-in-currency-and-interest-rate-cases.html?_r=0">cheaters are caught</a>. They pay a fine; a fine typically below the gains they incurred through cheating to start with. This has been a source of many discussions about moral hazard in our current financial system. Further, these gains can be very hard to estimate since they often include information sharing with third parties outside of the cheaters employer.</p><p>When designing a product based on this process, you should ask yourself what the volatility cost is and what the value of the information being computed is, in terms of its potential abuse.</p><h4>Consumer Behaviours</h4><p>“As the Web grew, the average level of sophistication of users dropped. It was hard to explain the importance of privacy to them”, David Chaum, when explaining why <a href="https://en.wikipedia.org/wiki/Ecash">Digicash</a> failed.</p><p>The potential applications of this technology are truly vast. From banking, finance, web-search, identity, healthcare, accounting, and other industries. Pretty much anything that has been discussed with public blockchain technologies can be enhanced by using privacy-preserving blockchains. So, which applications are more appropriate for privacy-centric systems? Overall, that’s a pretty big question which could take up many volumes of discussion. However, here are a few observations and questions I’ve uncovered during my research.</p><p>In consumer applications, how will users initially feel about depositing “sensitive” information into “experimental” technologies? What’s the go-to-market strategy under this consideration? What, precisely, will consumers consider to be “sensitive”? How do you convince consumers that this technology actually protects their information? How do you establish trust and credibility with consumers or businesses even if your technology is supposedly “trustless”?</p><p>In business applications, you have a similar set of questions with entirely different answers. Clearly, businesses looking to leverage blockchain technologies will want privacy without the loss of computation or provability. The most obvious application of this is in the audit and accounting business. It’s this application which originally inspired my research into this topic in 2013.</p><p>What types of regulatory issues will arise in various applications? For example, in the case of medical records there are well-defined laws surrounding how this information can be gathered, shared, and transmitted (i.e. HIPAA compliance). Similar questions exist for banking and consumer financial applications.</p><h4>Other Considerations</h4><p>There are a number of other product considerations that were not discussed in this post. I’ll just mention one here, but feel free to ask me about more in the meetup.</p><p>Should we even compute this? Sometimes, the computation itself is going to leak information about the secret inputs. For example, if one runs an MPC protocol to compute the sum of two inputs, the adversary will always be able to learn the other input by looking at the input/output of the computation; that is, if one participant privately submits the number 2, and the result of the computation is 4, then that party will know the other submission was 2, since 2+2=4. In this case, information has been leaked. As one begins to think about various products enabled by this technology, you’ll have to consider the opportunity for adversaries to iteratively submit guesses designed to data mine private information. This problem has come up in lots of applications which I’ve examined. A new thread of cryptography research called <a href="https://en.wikipedia.org/wiki/Differential_privacy">differential privacy</a> attempts to solve these problems by focusing on the amounts of information leaked by different kinds of computations.</p><h4>Conclusions</h4><p>There are a great number of exciting applications of these concepts. More importantly, I see privacy-preserving technologies being fundamental to all blockchains as they evolve. If your blockchain doesn’t have privacy features it will automatically eliminate itself from a range of applications. Although this is an exciting realisation, the path to developing usable products is fraught with pitfalls involving technical feasibility, tradeoffs between various PPCS approaches, process and incentive models, and other considerations. However, my initial research leads me to believe that we are at a tipping point where advances in modern cryptography combined with blockchains, smart contracts, and tokens will lead to business opportunities for entrepreneurs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=592007581bb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Proof of Development]]></title>
            <link>https://medium.com/@AdamStradling/proof-of-development-df55d535cbf0?source=rss-f3877768d2ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/df55d535cbf0</guid>
            <dc:creator><![CDATA[Adam Stradling]]></dc:creator>
            <pubDate>Mon, 27 Apr 2015 19:49:06 GMT</pubDate>
            <atom:updated>2015-04-27T19:59:10.123Z</atom:updated>
            <content:encoded><![CDATA[<h3>A sustainable incentive structure for continued Bitcoin development</h3><p>Here is a back-of-the-envelope idea for a sustainable and pseudo-decentralized process to compensate developers who contribute to Bitcoin.</p><p>Miners are compensated for their work in securing the network through block rewards and transaction fees. Why shouldn’t those who develop the protocol be similarly compensated?</p><p>What if an incremental fee on each transaction is created solely for compensating development? What about a small part of the block reward?</p><p>Based on a protocol update, the “dev fees” would be automatically routed to a threshold Bitcoin address. The threshold address could be a 25 of 50 address, a 100 of 200 address, or another configuration. The keys to this address would be dealt based on the mathematical results of a “development index”. The weightings on this index would be voted on democratically by anyone in the community. This index would be used to rank the contributions of developers who would then be awarded a key to the threshold address if they fall within a certain cut off point.</p><p>Each key holders will then anonymously vote on the exact distribution of accumulated funds to the pool of contributing developers. Obviously, majority consensus must be reached for periodic distributions to be made, i.e. 50 of 100 key holders must sign (or, some other configuration, like 75 of 100). If the group hasn’t reached consensus, then the bitcoins will remain in the threshold/multi-sig address until they do. This could happen once per quarter, per year, or some other period depending on how the process is optimized.</p><p>Currently, mining fee generation is in the millions per day (mostly block reward), so just 2 or 3% of those fees would be tens of thousands per day, adding up to tens of millions per year. Using threshold/multi-signatures, the capital risk would be decentralized, and all distributions naturally based upon a resulting democratic process.</p><p>Currently, the Bitcoin Foundation has been the organization responsible for raising funds for development. It is fully centralized and dependent on somewhat small board to make all of its decisions.</p><p>As this was a simple back-of-the-envelope idea, here are some questions to which I don’t have clear answers:</p><p>— How easily could a process like this be implemented from a technological standpoint?</p><p>— What is the right fee amount? What will the other stakeholders, like miners, and users think?</p><p>— What is the configuration of the threshold/multi-signature implementation? 25 of 50, 50 of 150, 150 of 200?</p><p>— How should development contributions be assessed by the development committee? Yearly Git contributions? Quality of contributions/innovations? Other? Simple voting process?</p><p>— What if a majority of votes can’t be reached? Should the address be a 25 of 75? 50 of 150? What attack vectors on the voting process exist? How do we verify identities?</p><p>— Could a blockchain-based smart contract which defines the distribution process and destination addresses be useful here? Protocol pays devs directly from generated fees?</p><p>— Would such a process create “political developers” spending more time campaigning than coding?</p><p>— What are the legal and tax implications of such a system?</p><p>That’s a lot of tough question!</p><p>Overall, I like the concept of hard-coding a dev fee into the protocol, and then having it automatically pay those developers based on some process which accurately reflects their contributions both in quantity and quality.</p><p>Maybe this is best served by developers simply buying and holding Bitcoin, and then contributing to its development wherein the price will rise in unison with its increased utility.</p><p>What do you think?</p><p>Thanks,</p><p>Adam</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df55d535cbf0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>