[dba-VB] Encrypt password

Salakhetdinov Shamil mcp2004 at mail.ru
Fri Feb 7 03:14:53 CST 2014


 Hi Paul --

For encryption in a VB.NET program you can use .NET's  System.Security.Cryptography

Have a look at the following samples:

" Cryptography in .NET : Advanced Encryption Standard (AES) "
http://stephenhaunts.com/2013/03/04/cryptography-in-net-advanced-encryption-standard-aes/

" .NET Encryption Simplified"


http://www.codeproject.com/Articles/10154/NET-Encryption-Simplified


-- Shamil

Friday, February  7, 2014 3:09 AM UTC from Paul Hartland <paul.hartland at googlemail.com>:
>To all,
>
>I'm starting to write a vb.net app which will link to a sql server
>database, I want the passwords in the user table on the SQL server database
>to be encrypted one way, then if they forget the password can request a new
>one.  Firstly I used to use MD5 when I worked at my last company, but have
>heard this can be cracked, anyone have any other recommendations, I don't
>mind if the password encryption happens on the vb.net app or the sql server
>database.
>
>Thanks in advance for any help.
>
>-- 
>Paul Hartland
>paul.hartland at googlemail.com
>_______________________________________________
>dba-VB mailing list
>dba-VB at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>http://www.databaseadvisors.com
>


-- 
Салахетдинов Шамиль


More information about the dba-VB mailing list