Hidden password mysql
#1

hay.. i want asking.
how script to hide the password with mysql database?
u can see my password its not real, it hiden

for example :

PHP код:
INSERT INTO `players` (`reg_id`, `name`, `IP`, `pass`, `email`, `adminlevel`, `helper`, `premium`, `pkgo_found`, `hours`, `minutes`, `seconds`, `kills`, `deaths`, `money`, `bmoney`, `score`, `group_id`, `group_rank`, `saveskin`, `autoLogin`, `spawnplace`, `weapon_set`, `seepms`, `specoff`, `hidden`, `autotune`, `cookies`, `events_won`, `races_won`, `parkours_won`, `duels_won`, `fallouts`, `derby_wins`, `MB_found`, `cookiejars`, `keyflip`, `savedvehicle`, `speedboost`, `bounce`, `superman`, `wheels`, `reg_time`, `last_time`, `color`, `chat_color`, `id_color`, `goto`, `autofix`, `god`, `rtests`, `maths`, `arrests`, `takedowns`, `robberies`, `probberies`, `times_arrested`, `cop_kills`, `speedo`, `killstreak`, `active`, `hideMSGs`, `duels_off`, `plate`, `time`, `weather`, `description`, `country`, `namechange_date`, `v_expired`, `Muted`, `Jailed`, `report_points`, `house_id`, `gotpresent`, `togpms`, `togevent`, `hitsound`, `cbugtime`, `togmsg`, `fstyle`) VALUES
(1'Dandy_Corleone''202.67.46.38''1aa3f89136cd800b8e4a86bbd8035e88bd80bebc''*'101320011005914436194357950779163001, -1010117200800000075001.3110'2016-11-19 18:13:48''2016-12-26 13:53:33', -16776961486627939011140746252203202320311001'dandy', -145'www.********.com/bloodyninja555''*'00001, -10000014); 
Reply
#2

Just Hash it, if you want to know how that works, look it up on the internet, ****** is your friend.
Reply
#3

I wouldn't recommend you to build your own user system if you've no idea about managing it. You must be familiar with salting and hashing. I did a quick search and found a tutorial regarding salting and hashing passwords - https://sampforum.blast.hk/showthread.php?tid=350664

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
Just Hash it, if you want to know how that works, look it up on the internet, ****** is your friend.
Simply hashing a password is not at all recommended. You should include salt to your password before hashing.
Reply
#4

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
I wouldn't recommend you to build your own user system if you've no idea about managing it. You must be familiar with salting and hashing. I did a quick search and found a tutorial regarding salting and hashing passwords - https://sampforum.blast.hk/showthread.php?tid=350664



Simply hashing a password is not at all recommended. You should include salt to your password before hashing.
I did not say that he shouldn't use salts, lol I could have mentioned it tho.

Btw, you should watch this: https://www.youtube.com/watch?v=8ZtInClXe1Q It is interessting, i watched it quite a while ago.
Reply
#5

i use sha1 with Encrypt
PHP код:
native sha1(const text[], hesh[]); 
Reply
#6

You could use Whirlpool to hash passwords, with this:

PHP код:
native WP_Hash(buffer[], len, const str[]); 
Reply
#7

Or the actual native that doesn't require a plugin. https://sampwiki.blast.hk/wiki/SHA256_PassHash
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)