You have listed three things which are all really the same thing. There is no objection to private ownership of motor vehicles or ships. You object to the weaponry.
But we can put aside the whole right to bear arms debate in this case because there is an obvious way to distinguish it. Encryption is a purely defensive technology.
It is totally illegitimate for a government to prohibit things like armor and electromagnetic shielding, even if some of them do, because these things only defend, they do not attack.
I feel quite comfortable classifying encrypted messaging apps in the same category as houses and chain mail, even if the US government has historically disagreed.
Only if that logic is sane, which it isn't.
There is an difference between doing something directly and indirectly. Anything can do anything given enough indirection. There is no plausible way in which your ordinary use of encryption or body armor could directly harm anybody else. There are some immediately obvious ways that your ordinary use of a howitzer could directly harm somebody else.
And the right to defend yourself using indirect offensive measures has no inherent symmetry with the right of government (or lack thereof) to prevent you from defending yourself using direct defensive measures.
And the same attack works if instead of encrypting your data they upload a copy of it to their servers before deleting it. Albeit less efficiently, so we're back to indirect harms.
(The Zumwalt-class destroyer displaces ~15,000 tons, which is too large to be considered a cruiser under the terms of the inter-war naval treaties, and is roughly the displacement of a 1910s-era South Carolina-class battleship).
On a more serious note a modern destroyer could sink any of those with long range missiles long before the batlleship could ever get into a range for a proper gun duel.
Not counting modern aircraft with yet more standoof missiles or even the anti/ship ICBMs that are being talked about.
Oh well, battleships were an elegant weapon for a more civilized age...
Somehow these just look so much more elegant than just spamming more bombers and nukes. Maybe because they usually only caused death of the sailors crewing them and other warships in battle rather than city populations like bombers and nukes often do ? (Well, unless you live in Yarmouth or on the River Plate.)