[phorm] [Phorm:] Re: Encrypt Passwords

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 12 Jun 2003 12:16:50 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2834) Re: Encrypt Passwords 
            <http://www.phorm.com/support/?rev=2834> 
  AUTHOR:   Holotech 
  DATE:     June 12, 2003 at 8:16 a.m. EST 

  Reply To: (#2829) Re: Encrypt Passwords 
  Author:   Patrick O'Hara 
  Date:     June 10, 2003 at 9:18 p.m. EST 

> You can use a PHP function md5() which encrypts the 
> data using: 

> RSA Data Security, Inc. MD5 Message-Digest Algorithm 
> http://www.faqs.org/rfcs/rfc1321 

Be aware, however, that this is one-way encryption - you cannot un-encrypt it. 
The way you can use this is to encrypt and store the password. When someone 
wants to log in, you encrypt what they enter for their password, and see if it 
matches what's stored. 

For two-way encryption, you'll have to have PHP compiled with the mcrypt 
library or other encryption library. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: