Encrypt And Decrypt Data From And To Database (vb.net)
Feb 11, 2010
I have some sensitive data that will be stored in one of my database tables, how would I go about encrypting it while saving it to the database and then decrypting it when retreiving it? I am using VB.NET
I am using asp.net website , now when a user creates new account his password must be saved in hashes , or gets encrypted and submits in database , next time when he login , my application fetch password from encrypted field , then decrypt it and match with the user entered password , if that's ok , page will be redirected to some other pages ... how to do that task ??
I'm teaching myself ASP.net. I'm creating an application that needs to store sensitive data. So, I found the following Blog to encrypt and decrypt data.
I'm sure it's my app, but I wanted to make sure I'm not missing anything obvious. For some reason, my app and Encryptor only works when I pass < then 7 characters. If a pass 8, it doesn't commit to the database. If I remove Encryptor, the app will store
I have search all around the internet and still have not found a solution for this problem. I have successfully been able to make a data grid hyperlink and encrypt the query string coming from that link. The problem that I am having is trying to decrypt the query string. When I try to decrypt it I get an error of "Invalid character in a Base-64 string."I know this means that I have a white space or an Invalid character somewhere, but for the life of me I don't know where. Futhermore I try this same code without the datagrid and replace it with just regular textboxes that passes querystrings to the next page and the code work perfectly.
I have a URL www.site-address/site-page/page1.aspx?username=deepu&password=deepu how can i change the URL to www.site-address/site-page/page1.aspx?username=232322323232&password=2323232322323 ie i want to encrypt the fields i pass through the URL to encrypt and decrypt the URL in C# using .net,now i am using response.redirect and pass these values as query string...
I have a HyperLink column in a gridview that when clicked should navigate the user to another page. I pass parameters to the page using a querystring. i want to encrypte the querystring when it passed to another page