We want to encrypt a text in Apex using provided key having 48 bytes.
Text = 'some xml';
Key = 'TEXT_KEY_REMOVED';
How can we encrypt the text using the provided key? Salesforce supports AES128, AES192, AES256 algorithms for 16, 24, or 32 bytes respectively. But the private key which I have has 48 bytes and there is no equivalent algorithm in Salesforce for 48 bytes key. Would you please suggest me any workaround?