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
how can i use this with my homepage
How to use this? :/
Now, i need this script for my homepage. Here is my code, to check the user password...
http://pastebin.com/0GPKjY74
@Bubelbub ty man :) Do you have code for creating new pass with this "Custom SHA256"? Actually I don't understand part with randomstring :/
Anyone have the code to integrate the web? please
Wow :) Pretty useful, I've been looking for something like that because I have been making registration form on my web :) THX