Generating hash value

From: Eliyahu Goldin (removemeegoldin_at_monarchmed.com)
Date: 12/28/03

  • Next message: Michel Gallant: "Re: Generating hash value"
    Date: Sun, 28 Dec 2003 17:14:52 +0200
    
    

    Following Microsoft recommendations, I'd like to store a one-way passport
    hash of a user's password. .NET provides method
    FormsAuthentication.HashPasswordForStoringinConfigFile (...) to generate a
    hash value with either SHA1 or MD5 algorithm. My problem is that the
    password is to be generated on a workstation with no .NET installed. How can
    I generate a hash value without .NET in the same way as
    HashPasswordForStoringinConfigFile does? Is there any sequence of Windows
    Crypto API calls with the same effect? An external stored procedure on the
    server side?

    Eliyahu


  • Next message: Michel Gallant: "Re: Generating hash value"

    Relevant Pages

    • Re: bad code, needs work...
      ... > The problem I am getting is checking to see if one field matches the city, ... The outfile opens can be handled in a loop that will at least prevent ... then store that scalar into a hash, which would be a convenient way to ... Again if you store the output handles to a hash, ...
      (perl.beginners)
    • Re: Best practices for storing/retrieving login credentials
      ... you must make sure that incoming callers are allowed to make FTP ... I think - Roy is interested in is how to protect the common FTP credentials. ... You cannot hash the FTP password, because the application needs to provide ... > then have to consider how to store the encryption key. ...
      (microsoft.public.dotnet.security)
    • Re: Secure password storing
      ... The reason why I can't store a hash is that the ... with a symetric key, there are loads of free libraries out there that will ... passport system are only storing hash of the passwords. ...
      (microsoft.public.dotnet.general)
    • Re: (OT) lincense protection generator
      ... Jarek Zgoda wrote: ... It could be a long string and then take a hash from it and store the hash value. ... generate sha1 sum of general machine configuration and store it on random internet node. ... These people are, to put it mildly, not the most computer savant people around. ...
      (comp.lang.python)
    • Re: Is it necessary to store the entire MD5, etc. hash for validation?
      ... >I want to store the last 10 passwords used on a legacy database that, ... but I don't have room to store 10x128+ bytes. ... I think you are mistaken about the size of the output of hash functions, ... passphrase hashes if you use SHA-256, ...
      (sci.crypt)