Heres another analogy, I've been using a black box sorting function from third party library, its super fast and satisfied all my requirements. Then they told me they implemented it using <insert super scetchy/controversial method>. From my perspective, as long is doing a good job and works as I expected, I don't care how its implemented.
..., but I don't care how it is implemented as long as it is secure.
I totally agree with this part. The problem is that the security of the implementation is the security of the implementation. So your sentence reads:
This is implemented extremely insecurely, but I don't care how it is implemented as long as it is secure. I also don't care about water, as long as it is dry.