Solved

Anyone's used this method to encrypt and decrypt files?

Posted on 2012-04-04
1
285 Views
Last Modified: 2012-04-04
I need to upload files. These files have patient info and i need them to be encrypted.

Is this a safe way of encrypting files?

http://support.microsoft.com/kb/307010

Or should I be using this method?

http://weblogs.asp.net/aghausman/archive/2009/03/16/saving-and-retrieving-file-using-filestream-sql-server-2008.aspx
0
Comment
Question by:Camillia
1 Comment
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 37808401
I like the KB307010 method because it is clean, single purposed and auditable.
You might want to consider whether the additional speed and level of security of the System.Security.Cryptography.AesCryptoServiceProvider makes it worth utilizing as an alternative to the DESCryptoServiceProvider used in that example.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

825 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