• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Delphi Cifrado Zara-128 By AX

Status
Not open for further replies.

Expermicid

Leech
User
Joined
Oct 23, 2011
Messages
285
Reputation
0
Reaction score
255
Points
63
Credits
0
‎13 Years of Service‎
95%
[lenguaje=delphi]Function Zara(A : Variant; B : Integer): Variant;

{'=============================================================='}

{' Ax: Zara-128 '}

{' Uso: Zara('Texto', 1/2) | Cifrar (1) - Descifrar (2) '}

{'=============================================================='}

Var C : Integer;

Var D : String;

Begin

If Length(A) = 0 Then Exit;

C := 1;

If Not (B = 1) Then If Not (B = 2) Then Exit;

Case B Of

1: For C := 1 To Length(A) Do Begin D := D + IntToStr(Ord(Copy(A, C, 1)[1]) + 312) + ' '; end;

2: While C <= Length(A) Do Begin D := D + Chr(StrToInt(Copy(A, C, 3)) - 312); Inc(C, 4); end;

end;

Zara := D;

End;[/lenguaje]

Autor: AX

Fuente: PitbullSecurity

Saludos :smiley:

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top