Solved

VB6 Encrypt data

Posted on 2013-06-13
8
588 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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
 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

770 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