cvs: pear /File_Passwd/Passwd Common.php
| From: | Michael Wallner | Date: | Wed, 01 Oct 2003 13:26:06 +0000 |
| Subject: | cvs: pear /File_Passwd/Passwd Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13227@lists.php.net to get a copy of this message | ||
mike Wed Oct 1 09:26:06 2003 EDT
Modified files:
/pear/File_Passwd/Passwd Common.php
Log:
added constants for encryption mode
Index: pear/File_Passwd/Passwd/Common.php
diff -u pear/File_Passwd/Passwd/Common.php:1.4 pear/File_Passwd/Passwd/Common.php:1.5
--- pear/File_Passwd/Passwd/Common.php:1.4 Thu Sep 25 10:21:23 2003
+++ pear/File_Passwd/Passwd/Common.php Wed Oct 1 09:26:06 2003
@@ -15,7 +15,7 @@
// | Author: Michael Wallner <mike@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.4 2003/09/25 14:21:23 mike Exp $
+// $Id: Common.php,v 1.5 2003/10/01 13:26:06 mike Exp $
/**
* Baseclass for File_Passwd_* classes.
@@ -34,6 +34,19 @@
require_once('File/Passwd.php');
/**
+* SHA encryption
+*/
+define('FILE_PASSWD_SHA', 'sha');
+/**
+* MD5 encryption
+*/
+define('FILE_PASSWD_MD5', 'md5');
+/**
+* DES encryption
+*/
+define('FILE_PASSWD_DES', 'des');
+
+/**
* Baseclass for File_Passwd_* classes.
*
* <kbd><u>
@@ -48,7 +61,7 @@
*
* @author Michael Wallner <mike@php.net>
* @package File_Passwd
-* @version $Revision: 1.4 $
+* @version $Revision: 1.5 $
* @access protected
* @internal extend this class for your File_Passwd_* class
*/