encrypt - decrypt
Posted: Tue May 12, 2009 9:14 pm
Hi,
I was wanting to encrypt / decrypt some password for my php cms. I am aware that php has its own function, but you can also get scripts which do a fine job.
I know that these ares are available as part of the php system...
If you take the approach of using a script with a key, all someone needs to do is grab find the key. But at the same time, I would image that trying to decrypt a password that is made with a non-system script would be a touch harder?
Can anyone shed some light on what the best method is? Im a bit of a newbe
Cheers,
Doug
I was wanting to encrypt / decrypt some password for my php cms. I am aware that php has its own function, but you can also get scripts which do a fine job.
I know that these ares are available as part of the php system...
- CRYPT_STD_DES - Standard DES-based encryption
- CRYPT_EXT_DES - Extended DES-based encryption
- CRYPT_MD5 - MD5 encryption
- CRYPT_BLOWFISH - Blowfish encryption
If you take the approach of using a script with a key, all someone needs to do is grab find the key. But at the same time, I would image that trying to decrypt a password that is made with a non-system script would be a touch harder?
Can anyone shed some light on what the best method is? Im a bit of a newbe
Cheers,
Doug