21.03.2011, 12:27
Quote:
Dude, SA:MP is not NASA or US Marines, we don't have to encrypt stuff, I mean worst thing could happend if someone with access takes it and uses It.
Who in the world uses their password they use somewhere else on SA:MP anyways? |
Its a VERY stupid not to encrypt your users passwords. It actually goes against one of the major rules of programming, don't assume anything . Assumptions always lead to disaster.
@OP - I wouldnt use that function if you made it / have no experience if the fields of hashes. To make a GOOD hash requires a lot of math/schooling. The big issue is how secure it is, and also how often it clashes. Clashing is more of an issue in this case (due to the audience sa-mp attracts), i would thoroughly test this before using it. Honestly i would just go with something that is guaranteed to be safe and have very little clashes (There are tons of plugins, and also mysql supports a lot of different hashes!).