Skip to content

Commit ddd66a0

Browse files
authored
init
1 parent 8b8b463 commit ddd66a0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ In messaging applications, **HMAC** can be employed to authenticate message send
108108
<br>
109109
<br>
110110

111-
Synergistic Operation:
111+
Synergistic Operation
112112
---
113113
When combined, **"Zero-Knowledge" Proofs** and **HMAC** create a formidable framework for secure authentication in messaging applications. **ZKPs** facilitate identity verification without divulging sensitive information, while **HMAC** ensures the integrity and authenticity of messages exchanged between parties. Together, these mechanisms uphold the confidentiality, integrity, and authenticity of communication channels, safeguarding users' privacy and security in the digital realm.
114114

@@ -126,12 +126,12 @@ The **`"Zero-Knowledge"`** Python API is meant to be simple and intuitive:<br>
126126
## Core Components
127127
The **`Core Components`** are key for establishing a secure and efficient framework for cryptographic protocols; streamlining the creation and validation of **"Zero-Knowledge" Proofs (ZKPs)**. They enhance anonymous, data-safe proof validations.
128128

129-
![Detailed Schematic Overview of Core Components](assets/Core%20Components.png)
129+
![Detailed Schematic Overview of Core Components](assets/Core%20Components%20[API].png)
130130

131131
---
132132

133133
#### ZeroKnowledge.models.ZeroKnowledgeParams:
134-
The parameters used to initialize the **"Zero-Knowledge"** crypto system.
134+
The parameters **used to initialize the "Zero-Knowledge"** crypto system.
135135

136136
class ZeroKnowledgeParams(NamedTuple):
137137
"""
@@ -142,7 +142,7 @@ The parameters used to initialize the **"Zero-Knowledge"** crypto system.
142142
s: int # Random salt for the state
143143

144144
#### ZeroKnowledge.models.ZeroKnowledgeSignature:
145-
A crytographic **"Zero-Knowledge"** signature that can be used to verify future messages.
145+
A **crytographic "Zero-Knowledge"** signature that can be used to verify future messages.
146146

147147
class ZeroKnowledgeSignature(NamedTuple):
148148
"""
@@ -153,7 +153,7 @@ A crytographic **"Zero-Knowledge"** signature that can be used to verify future
153153

154154

155155
#### ZeroKnowledge.models.ZeroKnowledgeProof:
156-
A cryptograpgic proof that can be verified against a signature.
156+
A **cryptograpgic proof** that can be verified against a signature.
157157

158158
class ZeroKnowledgeProof(NamedTuple):
159159
"""
@@ -166,7 +166,7 @@ A cryptograpgic proof that can be verified against a signature.
166166

167167

168168
#### ZeroKnowledge.models.ZeroKnowledgeData
169-
Wrapper that contains a proof and the necessary data to validate the proof against a signature.
169+
**Wrapper** that contains **a proof and the necessary data** to validate the proof against a signature.
170170

171171
class ZeroKnowledgeData(NamedTuple):
172172
"""
@@ -178,9 +178,9 @@ Wrapper that contains a proof and the necessary data to validate the proof again
178178
---
179179

180180
## ZeroKnowledge
181-
The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** and its state (defined by **`ZeroKnowledgeParams`**) should be inherently known to both the Client (Prover) and Server (Verifier).
181+
The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** and its state (defined by **`ZeroKnowledgeParams`**) should be inherently known to both the **Client (Prover)** and **Server (Verifier)**.
182182

183-
![Comprehensive Visual Guide to ZeroKnowledge Framework](assets/ZeroKnowledge.png)
183+
![Comprehensive Visual Guide to ZeroKnowledge Framework](assets/ZeroKnowledge%20[API].png)
184184

185185
---
186186

@@ -196,7 +196,7 @@ The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** an
196196
<td><code>create_signature</code></td>
197197
<td><code>secret: Union[str, bytes]</code></td>
198198
<td>Prover</td>
199-
<td>Create a cryptographic signature derived from the value <code>secret</code> to be generated during initial registration and stored for subsequent challenge proofs.</td>
199+
<td>Create a cryptographic signature derived from the value <code>secret</code> to be generated during initial registration and stored for subsequent <code>challenge</code> proofs.</td>
200200
</tr>
201201
<tr>
202202
<td><code>sign</code></td>
@@ -208,7 +208,7 @@ The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** an
208208
<td><code>verify</code></td>
209209
<td><code>challenge: Union[ZeroKnowledgeData, ZeroKnowledgeProof]</code> <br /> <code>signature: ZeroKnowledgeSignature</code> <br /> <code>data: Optional[Union[str, bytes, int]]</code></td>
210210
<td>Verifier</td>
211-
<td>Verify the user-provided <code>challenge</code> against the stored <code>signature</code> and randomly generated <code>token</code> to verify the validity of the challenge.</td>
211+
<td>Verify the user-provided <code>challenge</code> against the stored <code>signature</code> and randomly generated token to verify the validity of the <code>challenge</code>.</td>
212212
</tr>
213213
</table>
214214

0 commit comments

Comments
 (0)