Ben Sinclair wrote:
> That would work for me, but I have to deal with many files that I have already
> encrypted and no longer know the correct sizes of. My search and replace for
> the padding characters doesn't work because the files sometimes contain those
> padding characters.
>
> --
> Ben S
ECTED]
- Original Message -
From: "Joe Conway (wwc)" <[EMAIL PROTECTED]>
To: "Ben Sinclair" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 7:55 PM
Subject: Re: [PHP] Padding with mcrypt_generic
> I worked around this by pa
Ben Sinclair wrote:
> I'm trying to use mcrypt_generic and it works fine except it pads the data
> with ^@'s when, according to the manual page, the length of the data is not
> n * blocksize.
>
> I've been trying to remove the padding from my decrypted data using
> something like "$string = str_
I'm trying to use mcrypt_generic and it works fine except it pads the data
with ^@'s when, according to the manual page, the length of the data is not
n * blocksize.
I've been trying to remove the padding from my decrypted data using
something like "$string = str_replace("^@","",$string);", but i
4 matches
Mail list logo