Re: Re: [RFC] Horde_Cipher -> Crypt_Cipher

From: Date: Sun, 27 Jul 2003 15:12:18 +0000
Subject: Re: Re: [RFC] Horde_Cipher -> Crypt_Cipher
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18798@lists.php.net to get a copy of this message
Michael Bretterklieber wrote:
Hi, On Sun, 27 Jul 2003, Davey wrote:
Davey wrote: Michael: Would Crypt_CHAP fit in Crypt_Cipher? is it hashing or encrypting? From what I know about CHAP its has a pretty specific use and wouldn't be used in an environment which would require more than one type of hasing/encryption and therefore Abstraction should not be used.
CHAP is an application for encryption/hashing, it doesen't fit into a Crypt_<whatever> framework, so it should stay standalone. Some functions of the Crypt_CHAP package could be moved as drivers into this new Crypt_<whatever> package, like NT-Hash and DES-Hash. bye, -- ------------------------------- ----------------------------------
Michael Bretterklieber          - http://www.bretterklieber.com
JAWA Management Software GmbH - http://www.jawa.at
Tel: ++43-(0)316-403274-12      - GSM: ++43-(0)676-84 03 15 712
------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972
Thanks for clearing that up :) Would you think about creating a Crypt_NT_Hash and Crypt_DES_Hash standalone packages for use as drivers in Crypt_Hash and then use those from your Crypt_CHAP package? What do others think about it? I would mean extra dependencies for Crypt_CHAP... but personally, I don't think thats a problem as its just a case of "pear install Crypt_NT_Hash Crypt_DES_Hash" - Davey

« previous php.pear.dev (#18798) next »