Website Integration

Website integration

Hash algorithms

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

  • MD5
  • SHA1
  • Custom SHA256 hash(default)
  • xAuth

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 VARCHAR(255)
    • password VARCHAR(255)
    • ip VARCHAR(40)
    • lastlogin BIGINT - Unixtime in milliseconds


Posts Quoted:
Clear All Quotes