Skip to content

Commit 7955ef7

Browse files
authored
Merge pull request #39 from jhannes/patch-1
Add terminology for crypto variables
2 parents fd36d2d + a7494f8 commit 7955ef7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,20 @@ When complete you will see the output generated in a new `BenchmarkDotNet.Artifa
115115
## Sources
116116

117117
- [Elliptical curve cryptography with Bouncy Castle](https://www.codeproject.com/Tips/1150485/Csharp-Elliptical-Curve-Cryptography-with-Bouncy-C)
118+
119+
### Suggested descriptive variable names
120+
121+
This code is naming variables according to the mathematics in the original crypographic work. The list below provides some programmer-friendly suggestions to what you could call these variables in your own code.
122+
123+
```
124+
k privateKey
125+
K publicKey
126+
t tokenSeed
127+
r tokenMask
128+
P maskedPoint
129+
Q signedPoint
130+
c proofChallenge
131+
z proofResponse
132+
W tokenPoint
133+
```
134+

0 commit comments

Comments
 (0)