Re: mcrypt_encrypt giving different results for same input?
- From: Mtr <Mtr@xxxxxxx>
- Date: Tue, 02 Oct 2007 00:35:31 -0400
well, not necesarily. Maybe it's a chain cypher - and he's not
re-initializing.
Although his code sample does say ECB, I don't know what the parameters
mean for this extension function anyway.
On Mon, 01 Oct 2007 23:20:14 -0400, Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
wrote:
laredotornado@xxxxxxxxxxx wrote:
on one call I get the encrypted string, "ë;jéøÕG·" and on the other
call, I get "ø34Avýä". What gives?
Thanks, - Dave
I hate to state the obvious, but obviously there is something different
between the two. mcrypt_encrypt gives the same output for the same input.
Look for differences in capitalization, '1' (one) instead of 'l' (lower
case ell) or 'I' (upper case eye), for instance. It's very easy to do.
.
- Follow-Ups:
- Re: mcrypt_encrypt giving different results for same input?
- From: Jerry Stuckle
- Re: mcrypt_encrypt giving different results for same input?
- References:
- mcrypt_encrypt giving different results for same input?
- From: laredotornado@xxxxxxxxxxx
- Re: mcrypt_encrypt giving different results for same input?
- From: Jerry Stuckle
- mcrypt_encrypt giving different results for same input?
- Prev by Date: Re: Proposal for Lite Encryption for Login Form without SSL
- Next by Date: PHPDev5 | Mail Function
- Previous by thread: Re: mcrypt_encrypt giving different results for same input?
- Next by thread: Re: mcrypt_encrypt giving different results for same input?
- Index(es):