Encryption Question
Tod Thomas
tthomas at chubb.com
Tue Jan 10 16:29:04 CET 2006
Werner Koch wrote:
> On Mon, 09 Jan 2006 10:29:01 -0500, Tod Thomas said:
>
>
>>Is it always the size of the bufferlength passed to the function, with
>>appropriate padding, or can it be variable in length not to exceed the
>
>
> It is always the length you pass in. CFB mode behave similar to a
> stream cipher.
I see - I think. So MAXSIZE=64 would work, even if the passed in string
was less than MAXSIZE, but I should expect upon decryption to get a
string MAXSIZE in length back?
I believe the answer to that question is 'no', it will only return the
same string (and therefore same size) as that it was passed - correct?
As always, thanks for your help.
Tod
More information about the Gcrypt-devel
mailing list