// ------------------------------------------------ public final void diversify(byte[] MxK, byte[] factor, byte[] DxK) { Util.arrayCopyNonAtomic(factor, (short) 0, tbuf2, (short) 0, (short) 8); tripledes(MxK, tbuf2, (short) 0, (short) 8, tbuf1, (short) 0, Cipher.MODE_ENCRYPT); Util.arrayCopy(tbuf1, (short) 0, DxK, (short) 0, (short) 8); notblock8(tbuf2); tripledes(MxK, tbuf2, (short) 0, (short) 8, tbuf1, (short) 0, Cipher.MODE_ENCRYPT); Util.arrayCopyNonAtomic(tbuf1, (short) 0, DxK, (short) 8, (short) 8); }