How To Create A Salt Value Using 2008
Apr 10, 2010I do have the following:
Username: Ranjith
Password: 100100
My code is as follows:
[code].....
I do have the following:
Username: Ranjith
Password: 100100
My code is as follows:
[code].....
VS2010 (SP1) / .NET 4 on Windows XP. The question is simple, the answer; not so much. When generating a salt, should the LENGTH of the salt be random, fixed or a random number within a (min/max) range? I am using RNGCryptoServiceProvider to generate the salt, just unsure of the length of the salt.
View 12 RepliesI'm creating a hash with the following
vb.net
Private Function String_Hash(ByVal text As String) Dim _hash As Byte() = _enc.GetBytes(text) Dim hash_alg As HashAlgorithm = New SHA512CryptoServiceProvider() Dim _chash As Byte() = hash_alg.ComputeHash(_hash) Dim sBuilder As New StringBuilder For Each b As Byte In _chash sBuilder.AppendFormat("{0:x2} ", b) Next Return sBuilder.ToString() End Function
What's a salt?How can I add it to the code?
im creating a simple login / registrate form in visual studio 2008 anplant Hash and salt to my login and registrate forms, im using mysql to connect to a online mysql serverthis is my codes i ahve now
Form 1 - Login
Try
DB_Connect = New MySqlConnection()
[code].....
i really need this working, all works but nothing is encrypted
The code below allows a user to enter user name and password to log in to enter marks of students. SQL data reader verifies the user credentials from the database before authentication takes place. modify the code by salting and hashing the password.
Dim frm As New MarksEntryFrm
Dim flag As Boolean
flag = False
[Code]....
Im a final year student for COmputer Security / Forensic. Im planning to do a project which requires me to do encryption and decryption. My possible choice of language would be VB.Net. I was wondering if wad is running in my mind can be executed. Well, I would make a application where a part of it wil be promting the guest to register and I wanted to store the password in the database. I did some research and came across Salting and Hashing. I was wondering if is it possible to get the password which the user enters, salt it, hash it and encrypt it before I store in the database. If so, what is the best secured strong encryption can I use in VB.net. Because through out the research I have done, i have sen RInjdael as the most fav encryption algo which alot of programmers using.
View 3 RepliesSo here is the thing: This code is form my hash computing function module
[Code]...
I want to create a class is it where I can do...
[code]...
How do I do this? Do i create a class and create a instance of CarData? but how do I add Color and Year etc to it?
I Am trying to connect to the database(in Sql Server 2008) through my vb.net desktop application, perform a backup, and then allow the user to save the backup file to their computer Using Save Dialog box in vb.net 2008.
View 1 RepliesI'm trying to create an addin for visual studio 2008. I have never attempted this before so I read about it in a couple places on the web for one:
[URL]
Now that is for visual studio 2005 but I figured it would be a good enough place to start. So I tried using the add in wizard and createing a new add in...
The funny part is they say that the wizard creates a basic add in that works. But straight out of the wizard attempting to test it I get this error:
"The Add-in 'Project1' failed to load or caused an exception..." blah blah
"Error Message: The system cannot find the file specified.Error number: 80070002"
I just think it's funny that the basic VS created add in from the wizard dosn't work right. So can anyone help me on how to get started and properlly create / load an add in?
I have previously created a DLL in VB6 that I then used in a Microstation VBA program. But now cannot create a DLL with VB 2008 Express that works. I am trying to create a simple test DLL. The DLL appears in the Release directory of both the Bin and Obj directories but when trying to register it I get the following message "Can't find DLL entry point in TestRun.dll". Is it possible to create a working DLL with VB Express or do I have to "upgrade" to another "version" of VB.
View 14 RepliesI am trying to create a timer in VB 2008 and would like it to have minutes, seconds, and milliseconds. The timer should look like this : mm:ss.ms
View 6 RepliesI want to create a web browser, and i don't want to use the microsoft web browser element, i want to use webkit can i put this into VB 2008?
View 2 Replieshow to create flash in vb.net 2008?
View 7 RepliesWhy I can not create this file?
How suppose to be the correct program?[code]...
How do you create your own custom component for vb.net 2008? I want it to simply output to a .dll, not a whole winforms app.
How can I control the component? For example, I want my component to not have a visible design view, I want it to stay below like the stopwatch component and the notifyicon component and such, it is not something to be designed. Then, how do I edit the possible properties a user can control, and make them effect the end result?
I want to create a dxf file with vb2008. I calculated the coordinates with vb and i want to show the graphic in different cad programs. What do i have to do ? I thought about writing a parser, but i also ask myself if there do not t exist already any classes in vb to create a dxf file, but i haven`t found one.
View 1 Repliesi want to use namespace and class so that when i want to change the name of my database, or user Id or password, i will only change in the namespace page, so that life will be much easy.here is a namespace creating for vb.net 2005
Imports System.Data
Imports System.Data.SqlClient
Namespace mynamespace
[code].....
When I try to create a new asp.net application in vb.net vs 2008, visual studio just hangs without any error messages. It does create the virtual directory on iis but nothing happens. I have checked and iis is installed, then i re-installed vs 2008 and used the aspnet_regiis -i command to register aspent. but sitll no success.
View 3 RepliesI have searched all over the net and found a lot of resources but seems like they are pretty high level for me to understand. I want to use Ribbon in place of tabcontrol. Can anyone here just tell me how to achieve it with an example. if you are referring to somewhere and if it need to add some dll or class do tell me how to do that.
View 1 RepliesI am trying to create reports for a project I am working on. Basically it is a program used by a company to keep track of its sales reps. The income of each sales rep is stored in an array. I need to create a report ranking each sales rep in order of highest sales.I have looked into using crystal reports but I am getting bogged down in the server stuff and dont really know what to do.
View 3 RepliesI am developing an application for a client. They have requested some logging information.I am thinking about be able to log debug messages, information, and serious errors.Is there a way I could automatically switch the ones I want to log? For example, if I just wanted to write information to the log file, or write debug and information, or just serious errors.
What is the best practice when creating and writing to log files?
I have created some basic help instructions for my program. How or what should I do to present this to the user. I have a button set up for the user to click on, but what is the best way to present these help instructions to the user?
I know that on most programs that you press "F1" and the help files display in a nice form. I am not certain that mine need search capabilities since its only a couple of pages in length.
I want to know if it is possible to create a bargraph in vb.net based on the values retrived from the database? [code]What I want to do in VB.Net windows application is to create a bar chart based on the data retrieved from the database.
View 8 Repliesi would like to create a live IP cam..i have no idea how it's work and can any one suggest some idea and code to me?
View 2 RepliesI am trying to create an exe file through my program. Please do not get this mistaken for trying to create an exe file for my program. I know how to create an exe for my program. However, when I run my program I want the user to be able to select some files and then those files will get added to a list. Once they are done selecting files I want them to be able to create and exe file that will copy those files to whatever computer they run it on.
View 1 RepliesI'm trying to create an image for printing and I know what the dimensions of the image (Bitmap object) is supposed to be in Inches but the Bitmap uses pixels so how would I define it's size to the number of pixels per inch?I do know what the printer's DPI is too, I'm able to get the horizontal DPI and the vertical DPI (which is 99.99% of the time always the same)
View 8 RepliesI am in process of developing a student database for my husbands institute. I am completely done with the design of screens. Now I want to create database using sql plus ( as i am trained in it). I would like to know the process of connecting the database with the application.I would also like to know the process for the following :
1. When i create a student registration form, it should get updated in the database.
2. When i try to delete a student's record it should get deleted.
3. When filling the registration form , if any mistakes, i shall refresh and fill again.( i have designed buttons already).
4.On completion of the present academic year, the details i mean the class of the student shall be updated automatically.
The above are few requirements i need for my application.
First i need to re-size the input image (16x16) and then change the extension to .ico ?
I searched the net but i come with nothing
how to create a function.I've seen recently that creating functions is pretty easy and useful, rather than using each time plenty of code . However, now I want to create a function with two variables , BUT in some case I'd like to able to omit the second one..[code](that is by supplying only the 1st variable in the argument) I'd like it to round the value to its integer value .
View 2 Replies