Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 20:10
ahmed_one26-Jan-14 20:10 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 20:29
professionalGarth J Lancaster26-Jan-14 20:29 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 20:42
ahmed_one26-Jan-14 20:42 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 20:49
professionalGarth J Lancaster26-Jan-14 20:49 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 20:59
ahmed_one26-Jan-14 20:59 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 21:06
professionalGarth J Lancaster26-Jan-14 21:06 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 21:16
ahmed_one26-Jan-14 21:16 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 23:30
professionalGarth J Lancaster26-Jan-14 23:30 
There appears to be a more up-to-date version here http://bcrypt.codeplex.com/[^]

Nonetheless, I did a quick and dirty test with that version you used with VS2005 :-

C#
namespace DSBcryptTest
{
    class Program
    {
        static void Main(string[] args)
        {
            String Password_Text   = "Lorem_ipsum_dolor_sit_amet";

            String Password_Hashed = BCrypt.HashPassword(Password_Text, BCrypt.GenerateSalt(12));
            Console.WriteLine("Hashed Password {0}", Password_Hashed);

            String Test_Password_Text = Password_Text;

            if (BCrypt.CheckPassword(Test_Password_Text, Password_Hashed))
            {
                Console.WriteLine("Passwords Match");
            }

        }
    }


and there was nothing wrong / I got the expected result - obviously I should be using Nunit/unit tests etc, but meh ...

I copied BCrypt.cs into a new project, removed the assembly directive at the top, then used it directly as opposed to the dll version - but that wouldn't matter - it just means I can step into the code

So, Im sorry, I cant think of where to go
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 23:35
ahmed_one26-Jan-14 23:35 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 23:40
professionalGarth J Lancaster26-Jan-14 23:40 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one27-Jan-14 0:00
ahmed_one27-Jan-14 0:00 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 23:44
professionalGarth J Lancaster26-Jan-14 23:44 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one27-Jan-14 0:02
ahmed_one27-Jan-14 0:02 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one28-Jan-14 3:37
ahmed_one28-Jan-14 3:37 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Pete O'Hanlon28-Jan-14 4:00
mvePete O'Hanlon28-Jan-14 4:00 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one28-Jan-14 5:22
ahmed_one28-Jan-14 5:22 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster28-Jan-14 15:49
professionalGarth J Lancaster28-Jan-14 15:49 
GeneralRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one28-Jan-14 17:17
ahmed_one28-Jan-14 17:17 
QuestionProgramming Help Pin
Member 1023766526-Jan-14 4:23
Member 1023766526-Jan-14 4:23 
AnswerRe: Programming Help Pin
Dave Kreskowiak26-Jan-14 4:28
mveDave Kreskowiak26-Jan-14 4:28 
GeneralRe: Programming Help Pin
Shameel27-Jan-14 2:50
professionalShameel27-Jan-14 2:50 
AnswerMessage Closed Pin
26-Jan-14 5:03
professionalPeter Leow26-Jan-14 5:03 
GeneralRe: Programming Help Pin
Ron Beyer26-Jan-14 6:29
professionalRon Beyer26-Jan-14 6:29 
Questioncompileing C# program using vs2012 command prompt Pin
Sandhya Bandar24-Jan-14 18:50
Sandhya Bandar24-Jan-14 18:50 
AnswerRe: compileing C# program using vs2012 command prompt Pin
OriginalGriff24-Jan-14 21:55
mveOriginalGriff24-Jan-14 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.