5 replies
by blessed one
Hi,
You'll have to use third party encryption component or write you own encrypt/decrypt functions in VB dll and call it before storing to database.
by jay eckles
Depending on what algorithm you want to use to encrypt the password before saving it in the database, there's probably an implementation of it in Javascript that you can use directly in an ASP (remember ASP can be written with JScript instead of VBScript). I've used an implementation of MD5 written in Javascript that would require little modification to translate to JScript. I agree with the previous poster that a DLL would be a better choice, though. Instead of VB I would probably choose towrite such a component in VC++.
If you're not familiar with common encryption algorithms like MD5, RC5, RSA, SHA, etc., then I would suggest you leave a task like this up to an expert and purchase a third-party component. This suggestion might also apply if you are not familiar with creating COM objects in VB or VC++. Using COM objects in ASP is very easy and if you don't already know how to do it, you should learn.
Good luck.
Jay Eckles
www.jayeckles.com
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending