Composer业务网络中分类账的加密数据有什么意义吗? [英] Is there any mean to crypto data of ledger in Composer business network?

查看:76
本文介绍了Composer业务网络中分类账的加密数据有什么意义吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为分类帐中的数据加密应由Hyperledger Fabric中的应用程序(客户端应用程序和链码)执行. 使用Hyperledger Composer对账本的加密数据有什么意义吗?我应该在客户端应用程序或事务处理功能中实现加密吗?

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 ?

推荐答案

正确,应该在客户端执行.因此,您将实现与Hyperledger Composer TP功能相对的任何加密客户端.如果您对数据进行加密(例如,即使是在字段/属性级别),那么您将需要提供一种共享解密密钥的方法.就静态分类帐而言,可以通过对等方上的文件系统加密对其进行加密,对于传输中的任何数据,都可以通过TLS进行加密.

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.

这篇关于Composer业务网络中分类账的加密数据有什么意义吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆