SA-MP Forums Archive
[Pedido] DeEncriypt - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] DeEncriypt (/showthread.php?tid=650919)



DeEncriypt - SrDivuOfficial - 09.03.2018

Eu Gostaria Do DeEncrypt Deste Encrypt

Код:
stock Encrypt(string[])
{
	for(new x=0; x < strlen(string); x++)
 	{
  		string[x] += (3^x) * (x % 15);
  		if(string[x] > (0xff))
  		{
		  	string[x] -= 256;
  		}
  	}
	return 1;
}
Dou Rep Pra Quem Me Passar


Re: DeEncriypt - [BOPE]Seu._.Madruga - 09.03.2018

Que raio de Encrypt que й este que nгo retorna nada quando й apresentado uma string a ele ?


Re: DeEncriypt - SpikeCompiler - 09.03.2018

Olha amigo nгo encontrei esse ai, porйm ver se esse ajuda vocк, й uma include.


PHP код:
/***************************************************/
//                                                 //
//          [INC]Criptografia by [iPs]Victor       //
//                                                   //
/***************************************************/

#if defined _criptografa_included
    #error Use apenas uma vez a include de criptografia.
#endif

#define _criptografa_included

#if !defined _samp_included
    #include a_samp
#endif

Criptografar(s[], table[], table_len=sizeof(table))
{
    for(new 
0strlen(s); j++)
        for(new 
0table_leni++)
            
s[<< 32] += table[>> 32];
}

Descriptografar(s[], table[], table_len=sizeof(table))
{
    for(new 
0strlen(s); j++)
        for(new 
0table_leni++)
            
s[>> 32] -= table[<< 32];