how to store encrypted byte[] into database
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............