I think encryption of data in ledger should be performed by application (client application and chaincode) in Hyperledger Fabric. Is there any mean to crypto data of ledger using Hyperledger Composer ? Should I implement encryption in client application or transaction processing function ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
correct, it should be performed on the client side. So you would implement any encryption client side as opposed to the Hyperledger Composer TP functions. If you encrypt the data (eg. even at a field/attribute level), then you will need to provide a means to share the decryption keys. As far as the ledger at rest is concerned, it can be encrypted via file system encryption on the peer, and for any data in-transit, can be encrypted via TLS.