You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ In messaging applications, **HMAC** can be employed to authenticate message send
108
108
<br>
109
109
<br>
110
110
111
-
Synergistic Operation:
111
+
Synergistic Operation
112
112
---
113
113
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.
114
114
@@ -126,12 +126,12 @@ The **`"Zero-Knowledge"`** Python API is meant to be simple and intuitive:<br>
126
126
## Core Components
127
127
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.
128
128
129
-

129
+

130
130
131
131
---
132
132
133
133
#### 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.
135
135
136
136
class ZeroKnowledgeParams(NamedTuple):
137
137
"""
@@ -142,7 +142,7 @@ The parameters used to initialize the **"Zero-Knowledge"** crypto system.
142
142
s: int # Random salt for the state
143
143
144
144
#### 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.
146
146
147
147
class ZeroKnowledgeSignature(NamedTuple):
148
148
"""
@@ -153,7 +153,7 @@ A crytographic **"Zero-Knowledge"** signature that can be used to verify future
153
153
154
154
155
155
#### 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.
157
157
158
158
class ZeroKnowledgeProof(NamedTuple):
159
159
"""
@@ -166,7 +166,7 @@ A cryptograpgic proof that can be verified against a signature.
166
166
167
167
168
168
#### 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.
170
170
171
171
class ZeroKnowledgeData(NamedTuple):
172
172
"""
@@ -178,9 +178,9 @@ Wrapper that contains a proof and the necessary data to validate the proof again
178
178
---
179
179
180
180
## 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)**.
182
182
183
-

183
+

184
184
185
185
---
186
186
@@ -196,7 +196,7 @@ The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** an
196
196
<td><code>create_signature</code></td>
197
197
<td><code>secret: Union[str, bytes]</code></td>
198
198
<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>
200
200
</tr>
201
201
<tr>
202
202
<td><code>sign</code></td>
@@ -208,7 +208,7 @@ The **`ZeroKnowledge`** class is the central component of **`ZeroKnowledge`** an
<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>
0 commit comments