@line Posted August 5, 2004 Report Share Posted August 5, 2004 Alguém teria um código para criptografar e descriptograr senha? Quote Link to comment Share on other sites More sharing options...
0 Decio Posted August 5, 2004 Report Share Posted August 5, 2004 Tenho este código simples:Function Criptografia(ByVal StrTexto As String) As StringDim iDim nCarDim cCarChavePar = 256ChaveImpar = 255If ChavePar < 1 Or ChavePar > 255 Then ChavePar = 25If ChaveImpar < 1 Or ChaveImpar > 255 Then ChaveImpar = 33cCar = ""For i = 1 To Len(StrTexto)If i / 2 = Int(i / 2) ThennCar = Asc(Mid(StrTexto, i, 1)) Xor ChaveParElsenCar = Asc(Mid(StrTexto, i, 1)) Xor ChaveImparEnd IfcCar = cCar + Chr(nCar)NextCriptografia = cCarEnd Functionpara fazer a chamada:'Cript.Cript = Criptografia("SuaSenha") MsgBox Cript'Des.DCrip = Criptografia(Cript)MsgBox DCripPS: A Aline e a @line são a mesma pessoa? Quote Link to comment Share on other sites More sharing options...
0 @line Posted August 5, 2004 Author Report Share Posted August 5, 2004 Obrigada!!!Eu usava Aline antes de estar cadastrada no Fórum, agora só soui @line.Um abraço Quote Link to comment Share on other sites More sharing options...
0 ramon Posted March 5, 2005 Report Share Posted March 5, 2005 Ae alguém poderia me explicar como funciona este negocio de criptografia Quote Link to comment Share on other sites More sharing options...
Question
@line
Alguém teria um código para criptografar e descriptograr senha?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.