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