You would be better off describing your problem rather than the imagined solution.
A decent cipher will pad the input to the required length. If you already have ciphertext and it isn't padded correctly either (i) it isn't complete or (ii) you don't have a correct description of how it was enciphered.
> Hi can anyone help me how to create a cipher object
> which does Null Padding if the input data length is
> not a multiple of 8 bytes in the case of DES in
> SunJCE provider.
There is no padding scheme within the JCE to do this, you will have to perform the padding yourself. It is very easy and is actually one of my standard examples but I no longer post full code examples (especially to people who ignore me).
> > Hi can anyone help me how to create a cipher
> object
> > which does Null Padding if the input data length
> is
> > not a multiple of 8 bytes in the case of DES in
> > SunJCE provider.
>
> There is no padding scheme within the JCE to do this,
> you will have to perform the padding yourself. It is
> very easy and is actually one of my standard examples
> but I no longer post full code examples (especially
> to people who ignore me).
If i had hurt you, please excuse me. I just started crawiling in this field and i need help of you experts.