Papyrus: Papyrus Technical Roundup #13: Status of privacy research in Papyrus.

martech ethereum digital-marketing digital-advertising adtech

Papyrus’ privacy consists of two main components — state channel privacy and privacy of transactions. State channel privacy involves encryption of state channel parameters and block data. Encryption is implemented as a combination of asymmetric and symmetric algorithms. We use the symmetric AES‌-256 to encrypt channel data. The asymmetric algorithm is used only to encrypt a symmetric key for AES. State channel encryption is currently being tested and will be released soon. It will protect state channel data from being viewed by unauthorized parties.

More information about state channel privacy can be found in our previous blog post:

https://blog.papyrus.global/papyrus-technical-roundup-11-privacy-management-dbd24326553a

Protecting payment transactions generated during channel settlements is a more challenging task and cannot be achieved by applying standard encryption. Private (or shielded) payment transactions require advanced cryptography like ring signatures or zero-knowledge proofs. Our first option was to copy the existing scheme from Monero or ZCash. Effectively, this means that each node would need to run two blockchains in parallel — one for the main chain and one for shielded transactions. On one hand, there are clear benefits to taking existing thoroughly tested code, like avoiding the implementation of complex cryptography by ourselves. But on other hand, the overall architecture would become overly complicated and less maintainable so our second option, which is currently under research is to add shielded transactions directly to the blockchain layer.

Currently, there are several different approaches being researched — RingCT (Monero), zkSNARKS (zCash) and Bulletproofs. We are comparing them using the following parameters: level of privacy, transaction size, transaction generation time, transaction verification time.

Monero RingCT’s privacy and also transaction size depends on the number of inputs (mixins) and outputs. Even for typical 2-input 2-output transactions, the size is quite large — around 13Kb. For mixin transactions with lots of inputs and outputs, the size could become larger than 100Kb. The Monero team is planning to switch to Bulletproofs which will reduce transaction size by ~84% (source: https://monero.org/xmr-community-invites-auditors) so we will not consider using RingCT in Papyrus.

The key benefits of zkSNARKS are: real zero-knowledge privacy and very short proof sizes, the latter of which is critical since blockchain storage is very expensive. The ZK proof occupies 188 bytes in every Zcash transaction. Verification time is around 8–9ms. Proof generation currently takes around 40 sec and 3Gb of RAM which is far from ideal. The ZCash team is planning to improve those numbers to 7 sec and 40Mb with its next major chain upgrade called ‘Sapling’ which will be activated in September 2018 (to read more https://blog.z.cash/cultivating-sapling-faster-zksnarks). A major drawback of zkSNARKS is their dependence on the initialization phase called trusted setup. If the trusted setup phase was compromised, then the security of the entire system becomes compromised and false proofs may be generated.

Bulletproofs are a relatively new approach to generate ZK proofs. They do not require a trusted setup. According to the Bulletproofs paper (https://eprint.iacr.org/2017/1066.pdf), a single 64-bit range proof is 675 bytes and takes 65 ms to generate and 3.9 ms to verify. Bulletproofs also support very efficient batching when several proofs are verified together or combined in one single proof. Batching allows for a 30–80% reduction in proof size and proving/verifying time.

Bulletproofs look very attractive but are a relatively new technology which means that it will require some time to be property audited before being included in real production blockchains. They require no trusted setup and may be considerably more efficient than zkSNARKS but have slightly larger proof sizes. We will continue our research to ensure that the proper choice of technology for shielded transactions is made.

Papyrus Technical Roundup #13: Status of privacy research in Papyrus. was originally published in Papyrus on Medium, where people are continuing the conversation by highlighting and responding to this story.

Original article was created by: Papyrus at blog.papyrus.global

Disclaimer: This article should not be taken as, and is not intended to provide, investment advice. Please conduct your own thorough research before investing in any cryptocurrency or ICO.

Interested in Cryptocurrencies and ICO's?

Follow our telegram channel for daily cryptomarket reports!

Join @cointrends

Stay on top of Altcoins and ICO trends.

Subscribe to our free Weekly Cryptomarket report

Delivered once a week, strongly to your inbox.

Subscribe to our mailing list
December 31, 2018

Papyrus TestNet Launch and 2018 Recap

PapyrusBlockedUnblockFollowFollowingDec 31, 2018While the year 2018 is reaching its end and 2019 is already looming on the horizon, we would like to wish you happy New Year and all the best!Today is the last day of 2018 and the first official day of Papyrus Testnet!Papyrus Network Testnet live...

From: PRP
December 23, 2018

From exchanging BMW’s for mining rigs to reselling them on the Internet: how the cryptocurrency…

PapyrusBlockedUnblockFollowFollowingDec 23On November 27, 2018, the bitcoin exchange rate dropped to a record low for the year — $3,700. However, just one year prior, in December 2017, the cryptocurrency was peaking at a new maximum almost every week while experts predicted the price to...

From: PRP
December 01, 2018

PPR token generation completed

As we reaching the end of November, it is time to summarize the progress we made on the technical development side and share our future plans for December.Papyrus NetworkPapyrus Network represents our vision of a scalable, efficient and reliable decentralized applications platform, compatible...

From: PRP
November 18, 2018

Papyrus PRP/PPR token policy update

PapyrusBlockedUnblockFollowFollowingNov 18Since the moment when we, the Papyrus team, first started working on our project, we have always put forth all of our passion and enthusiasm; we have been constantly pushing ourselves to the limit to realize our ideas. We do our best for our...

From: PRP
October 21, 2018

Meet Papyrus Network

PapyrusBlockedUnblockFollowFollowingOct 21It has been a while since our last development update. Despite crypto winter happening on the markets, Papyrus development team is constantly focused on building and designing of a really usable product, which will create true utility for blockchain...

From: PRP
October 05, 2018

Technical Roundup #16: First pilot!

Papyrus Channel Monitor aims at market participants who use channels for their billing settlement or validation. It is an effective user interface which allows simple monitoring of the traffic going through the channels, brings visibility for the billing processes and provides functionality to...

From: PRP
Upcoming ICO's
This week overview
Token Name Starts
Cryptocurrency rates
*Last hour average price&change
Coin Name Price Hour
Bitcoin logo BTC $3634.79390027 0.11%
Ripple logo XRP $0.3276798323 0.27%
Ethereum logo ETH $121.659447111 0.11%
Bitcoin Cash logo BCH $130.142969184 0.2%
EOS logo EOS $2.4402398774 0.25%
Stellar logo XLM $0.1068531733 0.42%
Tether logo USDT $1.0166585409 -0.07%
Litecoin logo LTC $30.9504760924 0.34%
Tronix logo TRX $0.0245519517 0.08%
Cardano logo ADA $0.0445328787 0.48%
IOTA logo IOT $0.3071782717 1.05%
Binance Coin logo BNB $6.1195398541 0.32%