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

C#

 
AnswerRe: Image processing Pin
Chris Quinn26-Jan-14 22:24
Chris Quinn26-Jan-14 22:24 
AnswerRe: Image processing Pin
BillWoodruff27-Jan-14 0:55
professionalBillWoodruff27-Jan-14 0:55 
GeneralRe: Image processing Pin
OriginalGriff27-Jan-14 2:32
mveOriginalGriff27-Jan-14 2:32 
GeneralRe: Image processing Pin
Shameel27-Jan-14 2:47
professionalShameel27-Jan-14 2:47 
AnswerRe: Image processing Pin
Rahul VB28-Jan-14 7:47
professionalRahul VB28-Jan-14 7:47 
QuestionDerek Slager's BCrypt Class for C# Check Password Method failed Pin
ahmed_one26-Jan-14 19:03
ahmed_one26-Jan-14 19:03 
AnswerRe: Derek Slager's BCrypt Class for C# Check Password Method failed Pin
Garth J Lancaster26-Jan-14 19:48
professionalGarth J Lancaster26-Jan-14 19:48 
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 
Garth J Lancaster wrote:
C#
if (!BCrypt.CheckPassword(txtPass.Text.Trim().ToString(), hashpassdb))

 

is wrong - which I think stems from this

 

C#
txtHash.Text = BCrypt.HashPassword(txtPass.Text.Trim().ToString(),BCrypt.GenerateSalt(12));


Thanks for your reply...

But txtPass.Text.Trim().ToString() is not generated from txtHash.Text = BCrypt.HashPassword(txtPass.Text.Trim().ToString(),BCrypt.GenerateSalt(12));

Infact, there is no txtHash textbox in user login form, it only has 2 textboxes, username and password. Then uses password value (txtPass.Text.Trim.ToString())with BCrypt.CheckPassword routine with hashpassdb (retrieve from database).

txtHash textbox is used in the Form where new user is created with Username and password. It is actually hidden textbox, use only to save hash value of password in database.
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 
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 

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.