Nice tutorial Andrew, thanks for this. Would be "nicer" though if you provided a link to the code instead of us having to type all of this up ourselves ? :)
A tutorial would be nice of using already made hashes and salts and then coding them into visual basic. Basically... What I mean. I am using a forum software called MyBB and want to create a user login system. The database was created automatically and the hash and salt generated automatically as well. I'm following the tutorial however it's confusing because you are inserting data into the database. I need to generate a new hash of the user's password and salt and see if the results match. Following the tutorial is good but will not do what I want it to do.
6 лет назад
Thank you soo much! Great video! But, how to dencrypt the salt and pass hash? So when my user want to login...
Awesome Video man! I'm trying to make it work for a form application instead of a console application and I've got about 90% of it working the only issue I'm running into is the login function. On Inserting User the Salt is generated and Password is Hashed without any problem but when running the login it its not matching the password hash and instead seem to generate a new hashed password and returning password is incorrect any help would be greatly appreciated as I am new to salted and hashed passwords
hey mate, I didnt show the connection string because i was accessing it over the internet and didnt wanna show my ip address, however if you look at some of the previous videos, I talk about connection strings there. I hope that helps.
Thanks Andrew, this really good,, is it possible to make the same video in c#
Hi, cant find your link on youtube how to decrypt hashedandsalted password. thanks
UpdateS?
@@ReelsFacts2024 network security hw assignment? I'm in that boat
Nice tutorial Andrew, thanks for this.
Would be "nicer" though if you provided a link to the code instead of us having to type all of this up ourselves ? :)
play back speed to 0.75... your'e welcome
Hey, nice tutorial, but could you make it in c# ?
+Darius sorry for the late reply, I certainly could, however it shouldn't be too difficult to translate from this video in to c#
using System;
using System.Text;
using System.Security.Cryptography;
namespace DataEntry
{
class Encryption
{
RNGCryptoServiceProvider cryptose = new RNGCryptoServiceProvider();
private string EncryptString(string str)
{
byte[] bytres = Encoding.ASCII.GetBytes(str);
var hashed = System.Security.Cryptography.SHA256.Create().ComputeHash(bytres);
return Convert.ToBase64String(hashed);
}
public string GenerateSalt(string str)
{
using (RNGCryptoServiceProvider CryptoServerProvider = new RNGCryptoServiceProvider())
{
StringBuilder sb = new StringBuilder();
byte[] data = new byte[] { 4 };
for(int i = 0; i < 6; i++)
{
CryptoServerProvider.GetBytes(data);
string value = BitConverter.ToString(data, 0);
sb.Append(value);
return EncryptString(sb.ToString());
}
return "N/A";
}
}
public string HashString(string str)
{
return EncryptString(str);
}
}
}
how would i do the connection string?
Good One Andrew.
6:13
Thanks man...Excellent video!
Larry Mayers no worries uncle
any chance you recommend any resources for an up and coming .NET developer? VB or C#...either way
Larry Mayers the visual c# step by step books are pretty good :)
Cool...I'll continue watching your channel and pick up a few books! Thanks again.
Larry Mayers no worries mate, all the best!
A tutorial would be nice of using already made hashes and salts and then coding them into visual basic. Basically... What I mean. I am using a forum software called MyBB and want to create a user login system. The database was created automatically and the hash and salt generated automatically as well. I'm following the tutorial however it's confusing because you are inserting data into the database. I need to generate a new hash of the user's password and salt and see if the results match. Following the tutorial is good but will not do what I want it to do.
Thank you soo much! Great video! But, how to dencrypt the salt and pass hash? So when my user want to login...
Follow the video
Coding With Andrew Yeah, sorry i found it, but after the comment. Thanks again for your help!
Awesome Video man! I'm trying to make it work for a form application instead of a console application and I've got about 90% of it working the only issue I'm running into is the login function. On Inserting User the Salt is generated and Password is Hashed without any problem but when running the login it its not matching the password hash and instead seem to generate a new hashed password and returning password is incorrect any help would be greatly appreciated as I am new to salted and hashed passwords
Never mind figured it out. Works perfect. It was really simple making this work for a form based application
Great video, but you didn't tell us how connectionstring is created
hey mate, I didnt show the connection string because i was accessing it over the internet and didnt wanna show my ip address, however if you look at some of the previous videos, I talk about connection strings there. I hope that helps.
sorry, which video?
HOW I HASH IN SQL DEVELOPER
great tutorial, can you send the source code to me?
or share it using google drive? much appreciated, thank you!
Sorry man, I unfortunately don’t :(
Nice explained
But dude you are literally killing thoses keys 😅
Whatch out your fingers
Sorry man, I don’t have that keyboard anymore 😎 so we’re all good
man get a quiet keyboard... :) Great video though.
I can deal with the noisy keyboard, it is the bad echo from the mic that is giving me a headache.