public static
class
JCEKeyGenerator.DESedeextends JCEKeyGenerator
DESede - the default for this is to generate a key in
a-b-a format that's 24 bytes long but has 16 bytes of
key material (the first 8 bytes is repeated as the last
8 bytes). If you give it a size, you'll get just what you
asked for.