Maybe look up the story behind Tornado Cash.
EU law has liability exemption for hosters if they remove illegal content once notified (DSA Article 6). I think we still have to wait for more case law to know how that works with encryption. National law may still cause problems.