End-to-end encryption means that no-one apart from the sender and recipient have access to the cleartext.
To detect what end-to-end encryption is used for I suppose that you need to scan and analyse the cleartext.
So...
To detect what end-to-end encryption is used for I suppose that you need to scan and analyse the cleartext.
So...
There is no magical solution here.