Decryption credit card app data with Java or .net

Dears,

I’m trying to decrypt payment data and follow this:
https://shopify.dev/docs/apps/payments/request-reference#decrypt-encrypted_message

the issue is that AES-CTR is not supported and is also in the Key Derivation function.

if anyone can help with this.

Thanks