Technology companies are making it far more difficult for government intelligence arms to pierce their systems.