You still have to become a domain expert to debug it though?
Now you see the incantations that mostly work and the job of transforming it is easy.
Java's Bouncy Castle crypto library is a good example of this. The thing you're trying to do might be simple, but to do it, you might need to instantiate 8+ Java classes. It doesn't mean it's complex to read or hard to debug.
I’m skeptical that code that needs to instantiate eight separate classes will remain easy to debug in the general case.
Especially with cryptography you should NEVER use LLMs. Read the docs, write down some notes, and make sure you properly understand everything before you use it. You need to really think it through before you end up leaking user data or worse.