Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
share
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengjun
share
Commits
7a8779fb
Commit
7a8779fb
authored
Mar 05, 2020
by
pengjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update pre
parent
3a2654f1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
5 deletions
+26
-5
pre1.png
resource/pre1.png
+0
-0
pre2.png
resource/pre2.png
+0
-0
pre3.png
resource/pre3.png
+0
-0
代理重加密分析.md
代理重加密分析.md
+26
-5
No files found.
resource/pre1.png
0 → 100644
View file @
7a8779fb
18.8 KB
resource/pre2.png
0 → 100644
View file @
7a8779fb
17.4 KB
resource/pre3.png
0 → 100644
View file @
7a8779fb
15 KB
代理重加密分析.md
View file @
7a8779fb
### 1
. 需求背景
### 1
. 需求背景
...
@@ -67,23 +67,44 @@ DH加密结合云服务器存储也能解决隐私数据上链的问题,在共
...
@@ -67,23 +67,44 @@ DH加密结合云服务器存储也能解决隐私数据上链的问题,在共
#### 6.1 区块链(BlockChain)
#### 6.1 区块链(BlockChain)
#### 6.1.1 节点管理
#### 6.1.1 处理流程
!
[
](resource/pre1.png)
#### 6.1.2 功能描述
*
节点注册:代理重加密节点通过智能合约,抵押一定代币,注册为代理重加密节点
*
节点注册:代理重加密节点通过智能合约,抵押一定代币,注册为代理重加密节点
*
节点注销:重加密节点注销,如果没有恶意操作记录,解锁代币,否则扣除一定代币
*
节点注销:重加密节点注销,如果没有恶意操作记录,解锁代币,否则扣除一定代币
#### 6.1.2 节点激励
*
数据owner注册:数据owner通过智能合约注册,根据当前节点数量锁定代理重加密奖励,关联所有代理重加密节点
*
数据owner注册:数据owner通过智能合约注册,根据当前节点数量锁定代理重加密奖励,关联所有代理重加密节点
*
节点重加密验证:节点重加密之后发送重加密凭证到合约,合约根据凭证的签名校验
*
节点重加密验证:节点重加密之后发送重加密凭证到合约,合约根据凭证的签名校验
*
激励分发:合约分发激励到节点账户
*
激励分发:合约分发激励到节点账户
### 6.2 客户端(PRE-Client)
### 6.2 重加密客户端(PRE-Client)
#### 6.2.1 处理流程
!
[
](resource/pre2.png)
#### 6.2.2 功能描述
*
数据owner
*
数据owner
加密;查询重加密节点信息;授权,生成秘钥共享分片;连接发送到所有重加密节点
加密;查询重加密节点信息;授权,生成秘钥共享分片;连接发送到所有重加密节点
*
授权用户
*
授权用户
申请重加密;解密
申请重加密;解密
*
其他
授权用户下载数据使用第三方下载客户端
### 6.3 重加密节点(PRE-Server)
### 6.3 重加密节点(PRE-Server)
#### 6.3.1 处理流程
!
[
](resource/pre3.png)
#### 6.3.2 功能描述
*
重加密秘钥管理
*
重加密秘钥管理
数据owner发起,增删授权人的重加密秘钥
*
重加密
*
重加密
授权人发起,提供公钥签名,重加密节点验证签名,并且查找该授权人的重加密秘钥
*
区块链激励
*
区块链激励
重加密完成后,节点向区块链重加密合约发起交易,提供证明,合约分发激励到节点账户
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment