|
|
@@ -1,16 +1,16 @@ |
|
|
|
**DHEBP(DERO Homomorphic Encryption Blockchain Protocol) |
|
|
|
# DHEBP(DERO Homomorphic Encryption Blockchain Protocol) |
|
|
|
## NB: DERO ALPHA code to demonstrate FHE blockchain transactions. |
|
|
|
|
|
|
|
***NB: DERO ALPHA code to demonstrate FHE blockchain transactions. |
|
|
|
## Transaction Details: |
|
|
|
|
|
|
|
*** Transaction Details: |
|
|
|
Each transaction consists of 2 parts: |
|
|
|
1. Statement which contains ring members keys, commitments, encrypted balances ( this grows linear ) basicaly 4 curve points per ring member. |
|
|
|
1. Proof which grows log in ring members for Eg : |
|
|
|
8 ring size proof is only 1997 bytes |
|
|
|
512 ring size proof is only 3965 bytes |
|
|
|
|
|
|
|
|
|
|
|
Each transaction consists of 2 parts, |
|
|
|
1) Statement which contains ring members keys, commitments, encrypted balances ( this grows linear ) basicaly 4 curve points per ring member. |
|
|
|
2) Proof which grows log in ring members for Eg : |
|
|
|
8 ring size proof is only 1997 bytes |
|
|
|
512 ring size proof is only 3965 bytes |
|
|
|
|
|
|
|
*** Ring Size, Tx Size data |
|
|
|
### Ring Size, Tx Size data |
|
|
|
``` |
|
|
|
Ring size, tx size (fixed) in bytes irrespective of balance |
|
|
|
|
|
|
@@ -25,16 +25,12 @@ Ring size, tx size (fixed) in bytes irrespective of balance |
|
|
|
512 71613 bytes ( 67648 byte statement, 3965 bytes proof ) |
|
|
|
``` |
|
|
|
|
|
|
|
### Compile guide |
|
|
|
Ewitch to directory containing this Readme.md file |
|
|
|
export GOPATH=`pwd` |
|
|
|
go run *.go |
|
|
|
|
|
|
|
*** Compile guide |
|
|
|
``` |
|
|
|
1) switch to directory containing this readme file |
|
|
|
2) export GOPATH=`pwd` |
|
|
|
3) go run *.go |
|
|
|
``` |
|
|
|
|
|
|
|
Note: Developed and tested on linux go version 1.12.7 |
|
|
|
|
|
|
|
#### Note: Developed and tested on linux go version 1.12.7 |
|
|
|
|
|
|
|
*** Output Sample |
|
|
|
``` |
|
|
|