•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,573 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,573 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 2603 | Replies: 1
![]() |
•
•
Join Date: Oct 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Dear friends,
i have problem in encrypting and storing the password field in my sql server 2005 database.
i want to concat my user name and password field and then encrypt and store using md5 in c# using visual stdio 2005
can anyone please help me out......
preethi
i have problem in encrypting and storing the password field in my sql server 2005 database.
i want to concat my user name and password field and then encrypt and store using md5 in c# using visual stdio 2005
can anyone please help me out......
preethi
Last edited by Preethising : Oct 25th, 2007 at 3:33 pm.
•
•
Join Date: Oct 2007
Location: VietNam
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Hi
Here maybe is something you looking for.I use MD5 class from System.Security.Cryptography namespace.
There has a method for encrypting a byte array to an MD5 encrypted byte array.Here is an example:
Then,you can convert the buffer to any expected types of data.
Hope this useful
.
Here maybe is something you looking for.I use MD5 class from System.Security.Cryptography namespace.
There has a method for encrypting a byte array to an MD5 encrypted byte array.Here is an example:
byte[] result, buffer;
MD5 md5 = new MD5 CryptoServiceProvider();
UTF8Encoding encorder = new UTF8Encoding();
string source_str = "abcdf";
buffer = encorder.GetBytes(source_str);
result = md5.ComputeHash(buffer);Hope this useful
. Last edited by khanhtrung : Oct 26th, 2007 at 3:19 am.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ad advertising ajax architecture asp backup beta business centro crash daniweb database dell developer development doubleclick enterprise google hacker internet linux longhorn mail microsoft mmorpg msdn news novell office open qmail red hat rhel security server smtp software source sql survey suse vista windows windows server
- sql server 2005 express i need help<<<? (MS SQL)
- JDBC Driver for SQL Server 2005, Class not found Exception (Java)
- MS SQL server 2005 Express Edition (C#)
- text message via sql server 2005 to mobile phone (MS SQL)
- How to connect queries from SQL Server 2005 to VB.Net Windows application (VB.NET)
- How to connect queries from SQL Server 2005 to VB.Net Windows application (MS SQL)
- Access & MS SQL Server 2005 (MS SQL)
- [For Hire] ASP.NET 2.0 (C#), Atlas, SQL Server 2005: Web Developer / Architect (Post your Resume)
Other Threads in the C# Forum
- Previous Thread: Do u have it in you ??? ....:->>
- Next Thread: How to disable specific key code in keyDown event?


Linear Mode