1 @node Verifier structure
2 @section Verifier structure
4 Verifier is a derivative of the password. It is resistant to
5 dictionary attacks and can not be used for authentication (only
9 SOURCE = PBKDF2(SALT=PeerId, PASSWORD, 1<<16, SHA512)
10 PUB, PRIV = Ed25519.Generate(SOURCE)
13 Verifier is public key of Ed25519 generated from the PBKDF2 of the
14 passphrase in hexadecimal encoding. @code{PeerId} is used as a 128-bit
15 salt. Server stores and knows only verifier. Client can compute the
16 whole keypair every time he makes handshake.