Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.1 KB

File metadata and controls

23 lines (20 loc) · 1.1 KB

Use libsodium for all application needs

Important links relating to development:

Suggested libsodium bindings for development:

Password Hashing

  • We hash passwords with sodium_crypto_pwhash
    • sodium_crypto_pwhash_str is used to create a password hash
    • sodium_crypto_pwhash_str_verify is used to verify a password hash
  • TODO: Choose constants to use
    • SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE
    • SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE

Transmitting Data (Public Key Encryption)