Specify key types.

And wrap the 3DES keys into one parameter.
Modular arithmetic (broken)