Re: PHP Auth

From: Alex de Kruijff (freebsd_at_akruijff.dds.nl)
Date: 11/23/03

  • Next message: horio shoichi: "Re: FBSD web site man lookup & ipfilter"
    Date: Sun, 23 Nov 2003 00:27:55 +0100
    To: Grant Peel <grant@thenetnow.com>
    
    

    On Sat, Nov 22, 2003 at 06:20:00PM -0500, Grant Peel wrote:
    > Hi all,
    >
    > Two questions....
    >
    > I have been reading as much as I can find on paswwd, master.passwd,
    > shadow, crypt etc etc etc. and am Still stuck on one point. If the encrypted
    > password is normally aslways different, due to 'salt', then how does one get
    > a match??

    You encrypt the anwser that your user suplied and compair that to the
    encipted password.

    -- 
    Alex
    Articles based on solutions that I use:
    http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: horio shoichi: "Re: FBSD web site man lookup & ipfilter"

    Relevant Pages

    • Re: PDF Encryption : AES or RC4?
      ... Encrypt entry in the document's trailer dictionary. ... until you get to the Crypt Filter dictionary. ... The CFM key in the Crypt ... Indeed the CFM key tells which algorithm was used. ...
      (comp.text.pdf)
    • Re: Crypt datatype and datatype size
      ... Raj wrote: ... > I am using crypt on PHP to encrypt a word and am in the process of ... > setting up the mysql databse to store the encypted word. ... how much data will be encrypted by crypt? ...
      (comp.lang.php)
    • Re: Program using crypt()
      ... E> I have made an application which lets the user select the key and the salt for ... The encryption function in cryptis a "one-way cypher". ... This means you can encrypt, but you can't decrypt. ...
      (comp.os.linux.misc)
    • Re: Linux System Users Login/Password?
      ... So far I've managed to pull all of the shadow password strings out and into a database, but is there any way of 'matching' the encrypted strings if you are given the plain text version, like with md5? ... PHP has a function named 'crypt' that will encrypt strings in the same way the password is encrypted into the password file. ... Do you really want to pull all the shadow entries into a database? ...
      (comp.lang.php)
    • crypt length
      ... does anyone know if the crypt() function in PHP will always ... return a 34 character string if not salted? ... I want to encrypt my user's ...
      (comp.lang.php)