[snip]
I am encrypting some data on one server and now I am attempting to decrypt on another
server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation
vector). It is almost working but I seem to still have a little problem, that data is
missing the last character which st
Good morning gurus!
I am encrypting some data on one server and now I am attempting to decrypt on another
server using mcrypt_encrypt and mycrypt_decrypt (using same key and initialzation
vector). It is almost working but I seem to still have a little problem, that data is
missing the last char
I wouldn't use crypt, instead use one of the proven more secure hashes
like md5 or sha1.
For password hashing I'd use md5 (PHP 3 and 4) if you want broad
support or sha1 for a little more security (sha1 hasn't been in PHP as
long (only since 4.3.0) so you will lose some compatability,
Ryan T
php-gen
Subject: Re: [PHP] Encryption question
md5 is a one-way hash function. It is great for passwords. (I'm not sure if
that technically qualifies as encryption because it is nearly impossible to
decrypt..hmm) Anyway, I would recommend using it.
- Brad
--
PHP General Mailing List
On Fri, 2003-10-10 at 20:31, Ryan Thompson wrote:
> I know this is an opinion thing but what's the best functions or function set
> for password encryption?
>
> Currently my project uses md5 but I thinks it's more for checksums isn't it?
> Also, is mcrypt used for passwords? I looks like it's a t
Sorry. Just stumbled on crypt()
On Friday 10 October 2003 22:31, Ryan Thompson wrote:
> I know this is an opinion thing but what's the best functions or function
> set for password encryption?
>
> Currently my project uses md5 but I thinks it's more for checksums isn't
> it? Also, is mcrypt used
I know this is an opinion thing but what's the best functions or function set
for password encryption?
Currently my project uses md5 but I thinks it's more for checksums isn't it?
Also, is mcrypt used for passwords? I looks like it's a two-way encryption.
--
Ryan Thompson
[EMAIL PROTECTED]
http
Hi!
I read the PHP manual about the encryption, mcrypt_module_open(). I
have been trying to figure out an example of the parameters inside the
functions. I tried some of these options but I still get the error message
saying "Warning: mcrypt module initialization failed in ". Here's so
Just how are you going to decrypt it? Password encryption is ordinarily
one-way - you have no choice. You have to compare encrypted passwords.
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
SI want to compare a password to a encrypted password stored in my mySQL
database usin
> I want to compare a password to a encrypted password stored in my
mySQL
> database using password('password'), what's the best way to compare
the
> two?
>
> Encrypted the password sent by the user and compare or pull the
password
> from the database based on username, decrypt it and then compar
I want to compare a password to a encrypted password stored in my mySQL
database using password('password'), what's the best way to compare the two?
Encrypted the password sent by the user and compare or pull the password
from the database based on username, decrypt it and then compare?
--
11 matches
Mail list logo