Hi Salman,

I haven’t tested your chaincode. But as far as you invoke with clear username password, they will be kept in the block as chaincode_proposal_payload. Inside it all input arguments are encoded in base64. Therefore it is possible to decode them. It is true that the RWSet from endorsement will be encrypted per your chaincode.

I suggest you fetch a block keeping the transaction of invoking signUp(), and search for the input fields. Then you should be able to see the clear arguments.

cheers, kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

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