First off, I'm not even sure if this question belongs on this site, but I am a programmer and I usually just ask stack overflow questions like this, and I know for a fact this one doesn't belong there.
But basically, my question is if I get a flash drive, and only ever attach it to say a Raspberry pi 0 (the one without internet connectivity), and put information that I really don't want people to get their hands on (like for example, social security number), would that basically be as secure as just having it written on a sheet of paper?
Because I don't super want it written down because I feel like if someone breaks in or something, it would be a lot easier to determine what it was if it was written down on a piece of paper, but at the same time I don't want to put that information on anything that connects to the internet on the tiny off chance that the device gets compromised.
sorry if this question doesn't really fit this website, but if it doesn't I would appreciate someone being able to point me to somewhere where it would fit.