Solved

VB6 Encrypt data

Posted on 2013-06-13
8
583 Views
Last Modified: 2013-06-13
I want to save data and it to be encrypted using VB6 what would be the best way to do so.

Would it be to save it to a database ? or to a text file and have the data encrypted or ... ?

I would appreciate your thoughts as need to get the more secure way to do so using VB6

Thanks
gowflow
0
Comment
Question by:gowflow
  • 4
  • 3
8 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 350 total points
ID: 39244657
Here's an example.
encrypt.zip
0
 
LVL 42

Assisted Solution

by:sedgwick
sedgwick earned 150 total points
ID: 39244673
0
 
LVL 29

Author Comment

by:gowflow
ID: 39245013
I like both input but rather prefer MartinLiss's on KKRSE as the Simplcrypt is way too simple and presume can be easily decrypted.

KKRSEThread is to make life way complicated right ? adding a 3rd variable to the lot that is a thread
Question will this work on all ASCII characters or some will not ?

@Sedgwick
I like the MD5 but not sure I grasp the concept especially when it comes to not being able to decrypt !!! can you clarify ?

gowflow
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39245075
Question will this work on all ASCII characters or some will not ?
Yes it will work on all.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 29

Author Comment

by:gowflow
ID: 39245088
In your mind which one is better KKRSEThread or KKRSE ?
gowflow
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39245123
Sorry but I don't know.
0
 
LVL 29

Author Closing Comment

by:gowflow
ID: 39245234
Thank you gentlemen for your input I favorded MartinLiss obviously for the solution provided in a VB6 project which was part of the question to be totally fair.
Rgds/gowflow
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39245478
You're welcome and I'm glad I was able to help.

Select the 'About Me' tab in my profile and you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2013
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now