Posted December 15, 200816 yr Delphi Source function gen(name:string) : string;varnorm1,norm2,added,s1,f,finalserial:string;i,res:integer;beginnorm1:='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+=-{}[]/?\|><~. ';norm2:='CqiHSXMkEVZeRyBKdTAFWljDIPzxpOkgYmtarQnsuUGJLNbcfhowQQQQQQQQQQZZZZZZZZZZZZZZZZZZZZZZZZZZZ';added:='HLWsCbMErpAQOXWK';for i:=1 to length(name) dobegin s1:=copy(name,i,1); res:=pos(s1,norm1); f:=f+copy(norm2,res,1);end;if length(f) > 15 thenbeginfinalserial:=f;endelsefinalserial:=f+copy(added,1,length(added)-length(f));result:=finalserial;end;Visual Basic SourceDim normal, asdf, finalw, i, s, res, f, p, rt, qwfinalnormal = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+=-{}[]/?\|><~. "asdf = "CqiHSXMkEVZeRyBKdTAFWljDIPzxpOkgYmtarQnsuUGJLNbcfhowQQQQQQQQQQZZZZZZZZZZZZZZZZZZZZZZZZZZZ"finalw = "HLWsCbMErpAQOXWK"If Text1.Text <> "" ThenFor i = 1 To Len(Text1.Text)s = Mid(Text1.Text, i, 1)res = InStrRev(normal, s, Len(normal))f = f + Mid(asdf, res, 1)Next iIf Len(f) > 15 Thenqwfinal = fElseqwfinal = f + Mid(finalw, 1, Len(finalw) - Len(f))End IfText2.Text = qwfinalElseText2.Text = "Enter A Name For Generate Key"End IfKing Regards , GioTiN // Under SEH Team Edited December 15, 200816 yr by Teddy Rogers Please do not be so blatant about the title, thanks...
December 22, 200816 yr Delphi Source function gen(name:string) : string;varnorm1,norm2,added,s1,f,finalserial:string;i,res:integer;beginnorm1:='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+=-{}[]/?\|><~. ';norm2:='CqiHSXMkEVZeRyBKdTAFWljDIPzxpOkgYmtarQnsuUGJLNbcfhowQQQQQQQQQQZZZZZZZZZZZZZZZZZZZZZZZZZZZ';added:='HLWsCbMErpAQOXWK';for i:=1 to length(name) dobegin s1:=copy(name,i,1); res:=pos(s1,norm1); f:=f+copy(norm2,res,1);end;if length(f) > 15 thenbeginfinalserial:=f;endelsefinalserial:=f+copy(added,1,length(added)-length(f));result:=finalserial;end;Visual Basic SourceDim normal, asdf, finalw, i, s, res, f, p, rt, qwfinalnormal = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+=-{}[]/?\|><~. "asdf = "CqiHSXMkEVZeRyBKdTAFWljDIPzxpOkgYmtarQnsuUGJLNbcfhowQQQQQQQQQQZZZZZZZZZZZZZZZZZZZZZZZZZZZ"finalw = "HLWsCbMErpAQOXWK"If Text1.Text <> "" ThenFor i = 1 To Len(Text1.Text)s = Mid(Text1.Text, i, 1)res = InStrRev(normal, s, Len(normal))f = f + Mid(asdf, res, 1)Next iIf Len(f) > 15 Thenqwfinal = fElseqwfinal = f + Mid(finalw, 1, Len(finalw) - Len(f))End IfText2.Text = qwfinalElseText2.Text = "Enter A Name For Generate Key"End IfKing Regards , GioTiN // Under SEH TeamJust wondering... Did you do this yourself? Any sources used? Source code is nice - but sometimes it is better to explain how you analyzed the program... Sort of like how it was here http://www.51pojie.com/article.asp?N_ID=272 on Release Time: 2008-6-10 23:22:16....
Create an account or sign in to comment