Pbkdf2.Stats.report

You're seeing just the function report, go back to Pbkdf2.Stats module for more information.

Hash a password with Pbkdf2 and print out a report.

This function hashes a password, and salt, with Pbkdf2.Base.hash_password/3 and prints out statistics which can help you choose how to configure Pbkdf2.

Options

In addition to the options for Pbkdf2.Base.hash_password (rounds, output_fmt, digest and length), there are two options:

  • :password - the password used
    • the default is "password"
  • :salt - the salt used
    • the default is "somesaltSOMESALT"