JezzaKashel
asked on
Encryption/Decryption Vb Urgent
Hi
I would like to use a secure API call to encrypt and decrypt a password using Vb 6. Unfortunately, I do not want to use Crypto API.
Can anyone please provide an alternative API method to encrypt/decrypt a password?
Any speedy answers would be most appreciated
Many thanks
Jeremy
I would like to use a secure API call to encrypt and decrypt a password using Vb 6. Unfortunately, I do not want to use Crypto API.
Can anyone please provide an alternative API method to encrypt/decrypt a password?
Any speedy answers would be most appreciated
Many thanks
Jeremy
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=860ee43a-a843-462f-abb5-ff88ea5896f6
Try this......(the latest version)
http://www.mentalis.org/vbexamples/vbexample.php?vbexample=VBDES&category=MISC
Imran
http://www.mentalis.org/vbexamples/vbexample.php?vbexample=VBDES&category=MISC
Imran
Have a look to this previous question:
https://www.experts-exchange.com/questions/20192833/encrypt-and-decrypt.html
https://www.experts-exchange.com/questions/20192833/encrypt-and-decrypt.html
ASKER
Thanks for the comments guys.
Ideally I would like to use a built in API call found in existing DLLs.
This is to run on a thin client environment, so unfortunately there are restrictions on the DLLs etc that can be installed.
If there is a built in alternative to Crypto API, then it would be ideal.
In additon, jamime_olivares, thanks for the post, but I cannot view your suggestion unless I subscribe. Please can you paste it into this question, if its suitable.
Many thanks
Jeremy
Ideally I would like to use a built in API call found in existing DLLs.
This is to run on a thin client environment, so unfortunately there are restrictions on the DLLs etc that can be installed.
If there is a built in alternative to Crypto API, then it would be ideal.
In additon, jamime_olivares, thanks for the post, but I cannot view your suggestion unless I subscribe. Please can you paste it into this question, if its suitable.
Many thanks
Jeremy
Have you tried using advapi32.dll, which has CryptEncrypt and CryptDecrypt functions? It is a standard Windows DLL. I used it in my application. Hope that helps!
Have a look at this link too:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/cryptenumprovidertypes.asp
Cheers!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/cryptenumprovidertypes.asp
Cheers!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.