added more png
This commit is contained in:
parent
38d416b88e
commit
185bd8e7ce
12
ZKP.md
12
ZKP.md
@ -1,7 +1,6 @@
|
||||
|
||||
|
||||
<img src='./PDPS.png' height=75% width=75% >
|
||||
|
||||
[](./PDPS.png)
|
||||
|
||||
|
||||
```python
|
||||
@ -191,9 +190,8 @@ client_secret_priv, public_element = preprocessing()
|
||||
73ea3b5e061b6cabed623d1f0f8ba0e2dd7a8ef4
|
||||
|
||||
|
||||
<img src='./algo_keys.png' height=25% width=50%>
|
||||
|
||||
|
||||
[](./algo_keys.png)
|
||||
```python
|
||||
import ecdsa as pyecdsa
|
||||
|
||||
@ -219,8 +217,7 @@ def generate_priv_challenge():
|
||||
block_id,ro1,ro2,n,s = generate_priv_challenge()
|
||||
```
|
||||
|
||||
<img src='./challenge.png' heigth=75% width=75%>
|
||||
|
||||
[](./challenge.png)
|
||||
|
||||
```python
|
||||
def remote_commitment(chall):
|
||||
@ -297,8 +294,7 @@ m = ch_resp[0]
|
||||
383769705759922238814820635125091393536751781330499963960027267106043604344928356482304970868177244815080981113707959740583852333897030317262689421782904643950974779849213407220
|
||||
|
||||
|
||||
<img src='./proof1.png'>
|
||||
|
||||
[](./proof.png)
|
||||
|
||||
```python
|
||||
as1_1= ( y1 * P ) + (-Point(x1.x(),x1.y()))#y1.P-x1
|
||||
|
Loading…
Reference in New Issue
Block a user