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

[iaik-jce] 2 keyed 3-DES ...



hi,

does anybody know if it's possible to use CBC 3-DES (2 keyed) with zero padding
using the IAIK provider?

In more detail I would like to have the following padding:

step 1: first add additional "0"s as least significant bits to the last block to fill it to a
total length of 64 bits.
step 2: an additional 64 bit block full of "0"s is appended to the result of the previous step

Any help would be very appreciated,
Thanks in advance
TP

PS: if you have also a code fragment for this will be even better.

-- 
***************************
Pilioura Thomi
University of Geneva
24, rue General-Dufour 
1211 Geneve 4
SWITZERLAND
E-mail:thomi@cui.unige.ch
Tel.:+41(22)/705.7662
***************************