From owner-freebsd-questions Tue Jun 16 06:10:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA03696 for freebsd-questions-outgoing; Tue, 16 Jun 1998 06:10:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA03529 for ; Tue, 16 Jun 1998 06:10:04 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from -.- ([203.11.114.253]) by odyssey.apana.org.au (8.8.8/8.8.7) with SMTP id VAA25574; Tue, 16 Jun 1998 21:09:42 +0800 (WST) Message-Id: <3.0.3.32.19980616210624.006998bc@odyssey.apana.org.au> X-Sender: dean@odyssey.apana.org.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Tue, 16 Jun 1998 21:06:24 +0800 To: FreeBSD Qestions From: Dean Hollister Subject: Password crypt Cc: mjm@attila.apana.org.au Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hiyall, We are developing an .html facility for members to change their password on-line. But, I've hit a snag: I've assigned the new password to: $newpasswd But now need to encrypt it. I know the function to do this is: crypt($newpasswd,encryption key) But I don't know what the encryption key should be. Can anyone help? Regards, d. +--------------------------------------------------------+ | Dean Hollister, | dean@odyssey.apana.org.au* | | Region Co-Ordinator, | 12840184 ICQ | | APANA, | | | Western Australia. | *finger A/C for DISCLAIMER | +--------------------------------------------------------+ ST:VOY Kess: "I wish people would stop talking to me as if I'm still a child! I'm three years old now!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message