___________ _____________________________ _____________________________
| libscrypt | | libcrypto (NaCl, Sodium...) | | libcrypto (NaCl, Sodium...) |
|___________| Seed |_____________________________| Keypair |_____________________________|
salt ------>| generate | -------->| generate keypair from seed | -----------> | Sign and verify message |
password -->| seed | | | | using keypair pub/priv key |
|___________| |_____________________________| ------> |_____________________________|
|
message
Parametres SCrypt : N=4096, r = 16, p = 1