SA-MP Forums Archive
[Req] Special Encoding - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Req] Special Encoding (/showthread.php?tid=100646)



[Req] Special Encoding - godknightx - 05.10.2009

Hy

I have an old encode function, but its easy decode...
Can anybode write a good encode/encrypt function.
And the necessary thing, anybody cant decode/decrypt it.

Thanx.


Re: [Req] Special Encoding - Westie - 05.10.2009

http://en.wikipedia.org/wiki/RC4


Re: [Req] Special Encoding - godknightx - 05.10.2009

Quote:
Originally Posted by /^We(stie|z+[e|a
But its not pawno...


Re: [Req] Special Encoding - Westie - 05.10.2009

It's in C. I converted it to PHP really easily, so you should be able to convert to PAWN really easy.


Re: [Req] Special Encoding - godknightx - 05.10.2009

But i dont know how... i never used C(++) language


Re: [Req] Special Encoding - Correlli - 05.10.2009

PAWN and C syntaxes are almost the same.


Re: [Req] Special Encoding - iLinx - 05.10.2009

its the idea that matters, not if you know how c works or not.

all you need to do is understand how the algorithm works and how its implemented, then you can easily recreate it in pawno.

you could try md5, its hashing but im guessing you need this for a password system and md5 seems to do the job with most user file systems