Re: achieve password encryption

From: Pete (peted)
Date: 11/27/03

  • Next message: Stefano Pronti [MS]: "Re: Custom Event Log Write Error"
    Date: Thu, 27 Nov 2003 15:27:30 -0000
    
    

    Hi,
       You might want to try this

    public string GetEncryptedPassword(string sPass)

    {

        return
    FormsAuthentication.HashPasswordForStoringInConfigFile(sPass,"sha1");

    }

    "Anton Sommer" <anton.schamy_no_spam_@arcor.de> wrote in message
    news:bprt45$8p3$07$1@news.t-online.com...
    > Hello folks,
    >
    > how can I encrypt the password that an user enters in my normal login
    > window.
    >
    >
    > Thank you
    >
    > Anton
    >
    >


  • Next message: Stefano Pronti [MS]: "Re: Custom Event Log Write Error"

    Relevant Pages

    • Re: File encryption software?
      ... I trust these folks (otherwise, ... which I'd have to encrypt separately). ... you can also use batch files and MOVE to rename the directory and ATTRIB to hide it. ... With Folder Options set to not show hidden files, this will both hide it from people you "trust", and hide the files in it from programs trying to find them. ...
      (rec.outdoors.rv-travel)
    • Re: Encryption Error "Length of the data to decrypt is invalid"
      ... > Please find below the two routines I use to encrypt my text and decrypt ... > another label. ... > public string DecryptString ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: File encryption software?
      ... The problem is that I want to encrypt an entire data directory (okay, ... hundreds, of subfolders. ... I trust these folks (otherwise, ...
      (rec.outdoors.rv-travel)
    • Re: Internal spying within the US
      ... suspect many folks consider it prudent to encrypt data considered vulnerable to industrial espionage. ... Doesn't do much good to encrypt the connection if you then store the data in cleartext on an easily accessible machine. ... Risks had a scary piece not that long ago about the apparent rewriting of digital manifests/airbills so that shipments could be delivered to someone other than the intended recipient. ...
      (soc.singles.moderated)
    • Re: Internal spying within the US
      ... > I'd suspect many folks consider it prudent to encrypt data ...
      (soc.singles.moderated)