It doesn't matter if you can use a gun defensively, it's still designed to be a pretty offensive thing. I don't see how you can use encryption in an offensive way.
And how about ICBM's with nuclear warheads then? They are used defensively most of the time too. Yet you have to admit that they can be pretty damn offensive once you actually use them.