Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
I have a small application created in VB6. When I enter Username and Password in this applications it generates a text file having such kind of encrypted text.
x[PBDYXPUn^WQPtRUH{\NEENYcPSvY]KPsNSTzYMD@NZbNPjX_DPr[R\q[UT5,GcUMkXAVQsPAUyRRCNSXs1/vXZPTs


I want to use this type of encryption in my application. Can some one explain, what kind of encryption is this. Is it MD5? or some else? Is there any built in function in VB6 to generate this encryption. Please Guide me about this.
Posted

It could be anything; since it is encrypted there is no way of knowing. After all, if it was easy to discover what it was it would not be very secure.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 4-Nov-11 10:05am    
I do agree with the first part, but the strength of an encryption method/algorithm has nothing to do with keeping it secret. Or did you mean "if it was easy to break the code" it wouldn't be secure?
Richard MacCutchan 4-Nov-11 10:30am    
Yeah, probably a poor choice of words on my part. :(

Just from the data you've shown us, which looks like it is Base64 encoded, nobody could tell for sure what encryption was used here. MD5 is not an encryption method, it's rather an algorithm to generate a hashcode. This is irreversible so once the hash has been calculated it is impossible to generate the data from it.

Here is a page with a couple of links on it regarding encryption: http://support.microsoft.com/search/default.aspx?query=Visual%20basic%206%20encryption&catalog=LCID%3D1033[^].

Cheers!

—MRB
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900