473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Encrypting Data

Tim
Hi,

I need to encrypt sensative data in a SQL db like ssn, driver license... I
was looking at using
SymmetricAlgorithm using DES to encrypt and decrypt the data. Since I need
to decrypt the data I cannot use hash like I do for login. Any thoughts?

Thanks
Dec 5 '06 #1
2 1109
Well, my first thought is that DES is easily cracked and shouldn't be
used. Use TripleDES instead. For even more security, AES might be the
best choice.

You'll have to guard the key very carefully no matter which algorithm
you choose.

Andy

Tim wrote:
Hi,

I need to encrypt sensative data in a SQL db like ssn, driver license... I
was looking at using
SymmetricAlgorithm using DES to encrypt and decrypt the data. Since I need
to decrypt the data I cannot use hash like I do for login. Any thoughts?

Thanks
Dec 5 '06 #2
On Tue, 5 Dec 2006 10:01:39 -0700, "Tim" <ti*@asp.netwrote:
>Hi,

I need to encrypt sensative data in a SQL db like ssn, driver license... I
was looking at using
SymmetricAlgorithm using DES to encrypt and decrypt the data. Since I need
to decrypt the data I cannot use hash like I do for login. Any thoughts?

Thanks
1 Many SQL databases have encryption already built in, that will
probably be easier to use than anything you can develop. Check the
documentation for your database. You may get more specific advice on
a newsgroup devoted to your database.

2 DES is obsolete, do not use it unless you have a need to be
compatible with a legacy system.

3 The current standard encryption algorithm of choice is AES. Use
that unless you have a specific reason not to.

4 You will be able to get more expert advice on encryption in general
at sci.crypt. I should warn you that some of the advice can be a bit
fierce.

rossum

Dec 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: steve | last post by:
Hi, I know there are a few free and paid php source code encryption scripts around. Has anyone used one, and any feedback? I am interested in encrypting source that is placed on a remote host....
12
by: kimi | last post by:
Hello, I am running Microsoft SQL Server 2000 on a Windows 2000 Sever. I have been working with SQL Server, Building ASp WebSites for many years now. I am by no means an expert - nor have I had...
9
by: Brian P. Hammer | last post by:
All - I have an app that saves data to a xml file via a dataset. Our company stores some data in various xml files that is now considered a risk under its security policy. What's the best way to...
0
by: everpro | last post by:
Hello, I am trying to determine how to figure out the following: 1) If our DB2 Connect Gateway is encrypting userids, passwords AND data or not. 2) If not, how do I enable encryption. ...
1
by: jimfortune | last post by:
This idea is still in the process of formulation. I'm considering the idea of storing encrypted data in memo fields. Since the data is for internal use only I don't think the legal limits on...
2
by: Derrick | last post by:
Hi All, I wrote an app that reads text and/or xml data, will call it our "content". We want to secure that content so that our app will know if someone has modified it, or has produced their own...
7
by: Richard L Rosenheim | last post by:
Anyone care to express their two cents over pros and cons of encrypting the data being transmitted (within the SOAP package) versus just utilizing a HTTPS connection? Richard Rosenheim
2
by: Parrot | last post by:
I cannot get an answer as to why my session state no longer remains active between webpages after working for 2 years. So I want to try to pass data thru query strings in my url. I tried to use...
2
by: SeeSharp Bint | last post by:
Visual Studio 2005, dotnet, c#. Microsoft SQL Server. Windows XP forms application. Temporarily, for my database application, I have been storing the various elements of database connection...
3
by: Tery | last post by:
I'm trying to implement the Handango.com HTTP POST registration method. The instructions are here: http://www.handango.com/marketing/developerTeam/HTTP_Post_Reg_Model_How2.doc I'm stuck on how...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.