Raju k

Raju k

  • NA
  • 27
  • 0

how to store encrypted byte[] into database

Dec 20 2006 3:07 AM
Hi all,


I have a situation where I need to store the encrypted password in sql server database. I have encrypted using Rc2 algorithm, then I converted 'encrypted' byte[] to string and stored in database. But the problem is when I  converted this String field from database to byte[] and try to decrypt it using same algo, it is giving exception. I am confused wht to do. please help me any one?

Please help out I am waiting............

Answers (2)