Re: How do I can check a password Hash in WSE 2.0
From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 06/12/04
- Previous message: Eric Phetteplace: "Re: System.Security.Permissions.FileIOPermission"
- In reply to: Juan Irigoyen: "How do I can check a password Hash in WSE 2.0"
- Next in thread: Juan Irigoyen: "Re: How do I can check a password Hash in WSE 2.0"
- Reply: Juan Irigoyen: "Re: How do I can check a password Hash in WSE 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 12 Jun 2004 19:19:05 +1000
You need to have the original data (in this case the password), so that you
can perform the same hashing algorithm against the data, get the rsultant
hash, and then compare your computed hash against the supplied one.
Hashing is not reversible in that you cannot reverse hash it to get the
password or original data. Bottom line, you need the original password to
compare against OR you simply store hashes in the database against the users
profile, so that you never actually store passwords, only ever hashes of the
passwords that are used for comparison.
--
- Paul Glavich
Microsoft MVP - ASP.NET
"Juan Irigoyen" <juan_irigoyen@hotmail.com> wrote in message
news:pohcac.s91.ln@orannews.oran.local...
>
>
> By example
>
> Client
>
> token = new UsernameToken("juan", "1111", PasswordOption.TextPlain );
>
>
> Server
>
> protected override string AuthenticateToken( UsernameToken token )
> {
> ncadena = '1111';
> return ncadena;
> }
>
>
> This sample go well but if the password is SendHashed the sample donīt
>
>
> Client
>
> token = new UsernameToken("juan", "1111", PasswordOption.SendHashed );
>
>
> Server
>
> protected override string AuthenticateToken( UsernameToken token )
> {
> ncadena = '1111';
> return ncadena;
> }
>
>
> I donīt find example for this problem.
> Thanks,
>
>
>
>
- Previous message: Eric Phetteplace: "Re: System.Security.Permissions.FileIOPermission"
- In reply to: Juan Irigoyen: "How do I can check a password Hash in WSE 2.0"
- Next in thread: Juan Irigoyen: "Re: How do I can check a password Hash in WSE 2.0"
- Reply: Juan Irigoyen: "Re: How do I can check a password Hash in WSE 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|