473,770 Members | 5,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rfc2898DeriveBy tes replaces PasswordDeriveB ytes...

Dim slt(0) As Byte
Dim pdb As New PasswordDeriveB ytes(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: 'Rfc2898DeriveB ytes replaces PasswordDeriveB ytes 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 2583

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

Similar topics

2
2185
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 easy script that i can run from my server to change the message and was thinking about something like that
2
9625
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 with cedilla) is stored as "fa?ade" Does anyone have any idea how to fix this problem? My page has a meta header to set Content-Type: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> I traced the input to the PHP form...
1
3032
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 databases that we also support. Much help appreciated.
2
1336
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
1437
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 solved this by using #include so that each .asp page simply started with including this in the top of the file. Actually it was also ASP code since some of the frame content was dynamically created from the database. I can see many possibilities...
0
1898
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 is never filled if I'm correct?
0
2199
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 deployed to a number of users where I am encrypting photos in a database. Using the newer Rfc2898DeriveBytes class does not return the same values for the keys as PasswordDeriveBytes even with the same password and salt values in the constructor. ...
5
2357
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 XMLHttpRequest continuously, however when setting the value using getElementById the value of the element is not being replaced, it is being appended each time. Here is my code, how can i modify the code to replace the contents of the element...
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10004
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8886
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.