What text encoding must be used for the byte arrays? I'm using the UniCodeEncoding. But I keep getting an error that the key length is wrong for this algorithm. But my key is 48characters in length and the IV is 16cahracters in length.
cybersurferdev
Posts
-
Using TripleDES Encryption [modified] -
Using TripleDES Encryption [modified]Can I not convert the string to a byte array and then pass it to the memorystream? Won't this work too? How do I retrieve the encrypted string once the process is complete?
-
Using TripleDES Encryption [modified]What is the StrValue that you pass to the streamwriter?
-
Using TripleDES Encryption [modified]Thanks so much, you've been a really great help. But one last thing, what does the size of the Initialisation vector need to be and what characters may it store? Cos I need this for the web.config too.
-
Using TripleDES Encryption [modified]That's great, thank you. But I would like to use keys (validationKey and decryptionKey) stored in my web.config file. Also, I want to retrieve a value from the HTTP HEADERS and encrypt that. Then append the encrypted string to a URL and redirect to another page and decrypt it there.
-
Using TripleDES Encryption [modified]I don't want to read data in from a file, then encrypt and decrypt it. I want to retrieve a value from the HTTP HEADERS and encrypt that, then redirect from that page with the ecrypted value appended to the URL and decrypt it on another page.
-
Using TripleDES Encryption [modified]Hi All I need to use TripleDES encyption for my Web Application. I want to store the key used for encryption in the web.config file. How would I go about choosing a key, storing the key in the web.config, retrieving the key for encryption and decryption, and then doing the encryption itself. I'm relatively new at doing cryptography in C#. Thanks:) -- modified at 2:46 Wednesday 7th June, 2006
-
ASP.NET Label Properties ProgrammaticallyThanks For all the help Guys. Can this be done with a linkbutton too? -- modified at 3:13 Wednesday 19th April, 2006
-
ASP.NET Label Properties ProgrammaticallyHi I need to set the properties of a label programmatically. Those properties being the font weight and color. Is it possible to do so? Thanks
-
Paging in DatalistHi I currently have a paging mechanism for my datalist control which is displaying a gallery of Images. The code is a modified version of the code from HERE. I would like to modify the control to allow for paging through the images similar to the paging mechanism found on google. Only, there will be a fixed number of pages displayed and there will be a next and previous button as well. << Prev 1 2 3 4 5 Next>> So far what I've been able to achieve is: I am able to page through pages 1 to 5, in any order. All the buttons are linkbuttons. Here is what I need to still do: 1. Allow the next button to move through the currently displayed pages 2. When the user is on the last page and clicks the next button, the next page needs to be displayed and the linkbuttons need to change to show the next 5 page numbers too. Can anyone help me as to how I can go about starting this or if anyone else has done this or is busy with a similar thing, please, any and all help will be brilliant. Thanks
-
Removing Decimal Palces from a divisionHi I am doing a division and the result gives me an answer with decimal places. How do I remove all the characters after the decimal place?
-
HtmlTableCell ControlThanks for the Suggestions I eventually did try the last one and so far have had no problems with it. Thanks again :-D
-
HtmlTableCell ControlHi I have a webpage that has a button on it and a HtmlTableCell Control that I created by putting a id= and runat=server in a td. What I would like to do is load an existing created page (.aspx) into the HtmlTableCell control when the button is clicked. In the click event I have cleared the control but now I am stuck as to how I add the page into the control. I do know that there is the form1.Controls.Add( ) method but what is it that I put into the parentheses? If it's just a URL of the page then that shouldn't be to difficult but if it's something else could someone please tell me how I load an existing page into the HtmlTableCell Control? Thanks Bikinis are like Statistics - what they reveal is Suggestive but what they conceal is Vital.
-
Image Details from gallery displayHi I am using a datalist to display images that are retrieved form a database in a gallery format (with numerous rows and columns). I have made the images selectable, but now I want to display the details of the image in a popup window when the image is selected. I need to display the selected image, the title, the category the image came from and the code of the image in popup window. How do I go about doing this? All the details, including the image iteself, are retrieved from a database. Which event handler do I use? The onItemCommand or SelectedIndexChanged? How do I display the slected item and its details in a popup window? When the event occurs do I need to bind the data back to the control? Thanks
-
Number of Records in A DatasetThanks xvaughan
-
Sorting a DataSet for binding to a DataListHow do I sort a Dataset by a certain column value? The data will be bound to a datalist. The only sorting I've found is for the datagrid web control.:(
-
Number of Records in A DatasetI don't know VB I'm using C#. Are you still able to help me in finding out how many records are in a table in a dataset.
-
Number of Records in A DatasetI have successfully retrieved data with an adapter to create my required dataset. But now I want to know how many rows are in my dataset? I am using SQL 2003 and .NET1. I see that many people use the Tables.Rows.Count, but mine isn't working when I do that. How do I retrieve the number of rows of the table in the dataset? Thanks.