Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Los Angeles, CA
    Posts
    17

    Unanswered: Encrypting User Passwords - On a User Registration Form

    How do apply a one-way cryptographic hash function to the variable '$password'? I want to be able to store the user entered passwords encrypted. Any type of encryption function is fine.

    http://www.realestatenetfind.com/cod...nersignup.phps

    I would like to add the encryotion function on this page
    http://www.realestatenetfind.com/cod...up_insert.phps

  2. #2
    Join Date
    Feb 2005
    Posts
    4
    you can use the function sha1($password)
    details are here:
    http://us3.php.net/manual/en/function.sha1.php

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •