Secrets should never show up in logs or stack traces. Protected strings are a lightweight wrapper around sensitive strings that improves safety without complicating your code.