Encrypt and decrypt data using Triple DES (3DES/DESede) with ECB and CBC modes. Supports hex and Base64 output for legacy system compatibility