Re: NTLM Hash in ASP.NET

From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 05/25/03

  • Next message: grs: "Error: Project is not configured to be debugged."
    Date: Sun, 25 May 2003 17:39:12 +0200
    
    

    Why do you need exactly NTLM hash. NTLM (v1 and v2) uses MD4 hash for
    storing passwords (not 100% shure though). This is just for storing
    passwords.

    .NET framework includes classes for MD5 ans SHA1 hash algorithm. You can
    find them in Syste.Security.Criptography classes.
    If you are using forms authentication, then you can call
    FormsAuthentication.HashPasswordForStoringInConfigFile which takes string as
    parameter and hash algorithm (SHA1 or MD5).
    For MD4 algorithm you have to look around if there are third-party classes
    supporting MD4 hashing.

    Regards

    Matjaz Ladava

    "Dieter Depuydt" <dieter.spam.depuydt@skynet.be> wrote in message
    news:3ed0874a$0$26733$ba620e4c@reader1.news.skynet.be...
    > Anyone here who can tell me how to create a NTLM (NT LanMan) HAsh in
    ASP.NET
    >
    > Thx
    > DD
    >
    >


  • Next message: grs: "Error: Project is not configured to be debugged."