Encryption question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Encryption question (
/showthread.php?tid=658183)
Encryption question -
XStormiest - 26.08.2018
So I invented kind of an algorithm to encrypt the password. The way I did it may still be discreet, but I used those 3 algorithms together: Reverse string, Whirlpool, Caesar Encrypt in wich the key to encrypt will depend on the player himself. What do you guys think, may it work?
Re: Encryption question -
10MIN - 26.08.2018
Maybe
. Why you don't use caesar encrypt, reverse string, caesar encrypt, whirlpool, caesar encrypt? /s
I think that you are a bit too paranoid... It's just a game, just Whirlpool should be enough...
Re: Encryption question -
XStormiest - 26.08.2018
It's not just about the game, I wanted to invent something that's hard to break and hard to figure out. I will also insert a salt based on the player's data.
Re: Encryption question -
KinderClans - 26.08.2018
Quote:
Originally Posted by XStormiest
It's not just about the game, I wanted to invent something that's hard to break and hard to figure out. I will also insert a salt based on the player's data.
|
Inventing a custom encryption algorithm is the WORST idea EVER.
And, there is also the "salt" function with Blueg's MySQL plguin. Just follow his tutorial on the cache script.