06-02-2009, 02:39 PM
السلام عليكم
كيف يتم حل المعادلة
كيف يتم حل المعادلة
PHP كود :
function Encrypt(s:string):string; // معادلة تشفير كلمة السر
var i,b:byte;
var aux,aux2:string;
begin
aux2:='r#g'+'g&P'+'~<g'+'th'+'b8b=';
aux2:=aux2+aux2;
aux:=s;
for i:=1 to length(s)do
begin
b:=ord(s[i])+ord(aux2[i])+(length(s)*23)+(i*49);
aux[i]:= chr(b);
end;
Encrypt:=aux;
end;
![[صورة: sanstitredo1.jpg]](http://img516.imageshack.us/img516/583/sanstitredo1.jpg)