[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: DES-CBC padding



>Hi

>I am not sure about the padding to be used for DES-CBC mode when it is
>used in IPSec ESP.
>Can i use random data for padding? If so, can the IV be used for this
>purpose? Or will i have to follow the procedure outlined in RFC 2406
and
>pad the last block using a monotonically increasing sequence? 

You got use the monotonically increasing sequence starting from 1.

-Satya.