Monero RingCT Cheatsheet

Here I am with the third issue of this Monero-related cheatsheets series. Just a quick recap of previous episodes:

  • Monero Addresses Cheatsheet where we have seen everything is needed to forge one-time Stealth Addresses to decouple on-chain payee address from the one advertised to receive the payment
  • Ring Signatures Cheatsheet explaining signing ways Monero has used/is using to mix payer UTXOs (i.e. payer’s on-chain identity) with decoys into anonymity-sets

Now we put together what we have previously learnt to obtain the typical Monero transaction at the time of writing (Q2-2021), i.e. RingCT Type 5 (the CLSAG-based one). Doing so, the third ingredient of confidentiality is employed as well: Pedersen Commitments are used, together with other stuff, to hide exchanged Moneroj amounts.

That’s why this cheatsheet features a conceptual diagram of transactions structure, but also:

  • a basic introduction to Pedersen Commitments and their main properties
  • a recap of CLSAG flavour and its second layer signature in RingCT explicitly presented -that’s an original way as far as I know- as a proof of equivalence between committed values of actual input UTXO and of a “Pseudo Output Commitment”
  • an examination of “who can check what” about Moneroj amounts secret flow between payer and payee through network nodes enforcing consensus

What the cheatsheet instead lacks is a satisfying Bulletproof treatment: given the complexity of underlying Zero Knowledge Proofs, in this context only the solved problem is cited, i.e. the risk of currency inflation -Moneroj creation from scratch- due to cyclic groups “overflow” for multipliers ≥ group order (I guess seeing it as an “overflow” is not so common, but imho it’s a more gentle introduction than speaking about negative amounts, even if they are just two ways to see the same problem).

In credits section you can find, apart from various documental sources, some tools I have found valuable to dig deep in these topics.

Cheatsheet’s Github repository: https://github.com/baro77/RctCS

As previous ones, this cheatsheet has been proposed for Library section of Monero official site (via Pull Request #1655), and it’s pending review and -hopefully- approval.

July 2nd, 2021 EDIT

--

--

--

IT and networking professional, crypto & blockchain enthusiastic, science and tech hungry guy. https://www.byBaro.it

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Univision Now ⋆ 06 Months Warranty

League of Ancients — News Update

Brightpool.finance Testnet Setup Manual

71,000 employee accounts have apparently been exposed as the Nvidia hacker deadline approaches

How To Create A Stellar Account & Establish An MBX Trustline

SIL Polygon Important Update: SIL is going to launch lounge on Polygon!

Quick Guide to Better Personal and Web Security Online — How to Stay Safe Online

API (Application Programming Interface) Security Best practices

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrea Barontini

Andrea Barontini

IT and networking professional, crypto & blockchain enthusiastic, science and tech hungry guy. https://www.byBaro.it

More from Medium

Lessons I learned from only programming for 7 days

Simple steps to fulfill a wish quickly

CS371p Spring 2022 Week 6: Jae Garcia-Herrera

Programming 24/1/22