]> Cypherpunks.ru repositories - govpn.git/blob - doc/verifierstruct.texi
[DOC] Add various concept indexes
[govpn.git] / doc / verifierstruct.texi
1 @node Verifier structure
2 @cindex Verifier structure
3 @cindex Argon2
4 @cindex Argon2d
5 @cindex Salt
6 @section Verifier structure
7
8 Verifier is a derivative of the password. It is resistant to
9 dictionary attacks and can not be used for authentication (only
10 its verifying).
11
12 @verbatim
13 SOURCE = Argon2d(m, t, p, SALT=PeerId, PASSWORD)
14 PUB, PRIV = Ed25519.Generate(SOURCE)
15 @end verbatim
16
17 Verifier is serialized representation of public data above:
18 @verbatim
19 $argon2d$m=m,t=t,p=p$Base64(SALT)$Base64(PUB)
20 @end verbatim
21
22 m, t and p parameters are Argon2d-specific: memory, iterations and
23 parallelizm parameters.
24
25 Server stores and knows only verifier. Client can compute the whole
26 keypair every time he makes handshake.