Unless you are a very skilled cryptogropher, never ever try to build your own. Takes amost nothing to crack most home grown attempts.
I believe the SDK for SQL Server comes with a method for encryption, but if I really needed to do encryption correctly, I'd buy certified 3rd part software to do it.
--Jeff Moden
|