473,382 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Rfc2898DeriveBytes replaces PasswordDeriveBytes...

Dim slt(0) As Byte
Dim pdb As New PasswordDeriveBytes(strKey24, slt)
Dim bytDerivedKey() As Byte = pdb.GetBytes(24)

VS 2005 issues a warning for using .GetBytes() -- the exact warning:

Warning 1 'Public Overrides Function GetBytes(cb As Integer) As Byte()' is
obsolete: 'Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key
material from a password and is preferred in new applications.'...

Help isn't providing much assistance on how to migrate/resolve the
warning -- and suggestions that would satisfy VS 2005 and also keep my code
functioning the same?

Thanks, Rob.
Nov 23 '05 #1
0 2558

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris | last post by:
Hello, I use a javascript ticker in my header which contains the news in a array like that tickercontents='Message1' tickercontents='Message2' tickercontents='Message3' now i want to write an...
2
by: Noah | last post by:
The problem I'm having is that whenever a user enters accented characters character into a form field the characters are getting stored as question marks in the database. For example, "façade" (c...
1
by: kalbee | last post by:
When we insert text into field in a table, SQL SERVER apparently replaces apostrophes with question marks -- is there a way to not have this occur? We don't have this happen with the mySQL...
2
by: Harald Armin Massa | last post by:
again, and again ... another try of templating txt=""" <html> <body> <p>whatever</p> <!--tree--> <p>the machine with bing</p> <!--house--> <p>10% of boo is foo</p>
8
by: David | last post by:
As very often is the case a web page has a main, dynamic content page and a surrounding, more constant "frame" (not html frame!) for stuff like menu, logo, links etc. In my old ASP web pages I...
0
by: news.microsoft.com | last post by:
Hello, In the Visual Basic example I see the next line: tdes.Key = pdb.CryptDeriveKey("TripleDES", "SHA1", 192, tdes.IV) tdes.Key is obviously created. but what about tdes.IV? This value...
0
by: Walt | last post by:
When convering a solution from VS2003 to VS2005 I get a warning that Rfc2898DeriveBytes replaces PasswordDeriveBytes. This warning occurs in the GetBytes() method. My application is already...
5
by: libsfan01 | last post by:
Hi all Im trying to write a script that pulls data from another page (which is getting data from a db). The contents displayed on the db handling page (display.php) gets transferred through...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.