Skip to content

Website integration

whoami-plugins edited this page Jul 25, 2011 · 5 revisions

Website integration

Hash algorithms

AuthMe understands 3 Hash algorithms for encrypting passwords. You can choose in the configuration file which one AuthMe creates for new registered users.

  • MD5
  • SHA1
  • Custom SHA256 hash(default)

The custom SHA256 hash is created like this(pseudo code):

String salt = randomString(length:16);
String encryptedPassword = "$SHA$" + salt + "$" + sha256(sha256(password) + salt);

SQL Tables

  • Default table name: authme
  • Default column names: username, password

Clone this wiki locally