[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making my own keys



Alejandro Escanero Blanco wrote:

 > Hello, i'm making my own keys for a php script that use ldap as backend.
 >
 > I'm trying to make des passwords for this, for example:
 >
 > iv: MCRYPT_RAND
 > key: test
 > text to encrypt: kerberos


Well i answer myself, I'm reading the RFC 3961 ( Encryption and Checksum Specifications 
for Kerberos 5 ). And making the needed functions for this in php: n_fold, string_to_key, etc.


-- 
_________________________________________________________________________________________________________
Alejandro Escanero Blanco
Administrador Sistemas
Centro Europeo De Congresos
Tel. +34 952058050
e-mail: alejandro.escanero@chlgrupo.com
_________________________________________________________________________________________________________