A big benefit of encrypting your cryptocurrency private key with a password and then hiding/obscuring that password instead of the raw private key itself is that good encryption will apply key-stretching to the password, making it harder to brute-force. If an attacker finds a random-looking value in your stuff, and believes that the value might be your bitcoin private key XORed by a short string, they it's very cheap for them to check whether each result is a valid bitcoin private key. There might even be structure in the bitcoin private key format that helps gives away the XOR key. But if they know your bitcoin private key (or something else) is encrypted by Age, and they find a random-looking value that might be your password XORed by a short string, then because Age uses scrypt on the password, then it will take longer for them to verify each attempt against the ciphertext.
> Just shift all the digits of your key by some secret (but very simple) algorithm
You are basically suggesting that people roll their own crypto here. Or pseudo-crypto, or stego, or whatever you want to call it.
Don't tell people to "Just do X" when the ambiguity in the methods that you describe leave >90% odds that the result of their work won't even pass a statistical uniformity test. This leaks the key. Once your adversary realizes that you made some sort of mistake here, they can write software to make their attack orders of magnitude easier than it would otherwise be.
"Writing software" takes time, and by then all the money in the wallet would be gone
I don't understand why you're doubling down on this. There's an easy, correct way to do this that doesn't have the same vulnerabilities as the method you're describing. The tools to do this already exist. Don't XOR your fucking key bits into a jpeg... it's more work, and the probability of doing it wrong is super high. You're just asking for trouble here.
Well if you are in a gulag, your Bitcoins should be the least of your concerns.
> There's an easy, correct way to do this that doesn't have the same vulnerabilities as the method you're describing
Sorry, but I don't believe you. What is this "easy, correct" way of smuggling your bitcoins over the border that a) won't raise suspicion and get you thrown into a gulag b) doesn't require you to memorize the entire private key?
Do whatever you want, you have to add obscurity layer(s) to the scheme at some point. It doesn't matter if you are using perfect crypto if said crypto draws attention to you at the border.
What are my chances of being caught if I (for example) encode the private key into several emails using a scheme only I know? Zero. I'm not saying this will work at scale for everyone, but it is 100% guaranteed to work for me.
MEMORIZE the key. Obscure the ciphertext.
You cannot hide a key effectively using steganography. It's not strong enough. The probability of intercept is way higher than the probability of successfully brute-forcing the key or the memorized passphrase used to generate the key when using a strong key-stretching algorithm (not chains-of-hashes).
But there's also no reason to hide the key, because key-stretching allows you to memorize a passphrase instead.
> What are my chances of being caught if I (for example) encode the private key into several emails using a scheme only I know? Zero.
A cryptographer would actually work out a number here. It's a small number, but it isn't zero. Given the insane degree of protection that strong cryptography can provide, it's quite possible that that low number is still orders of magnitude higher than it would be if you just memorized the damn passphrase.
> 100% guaranteed to work for me.
That's not how cryptography works. It's provably correct, or it's broken.
Nothing is preventing you from having both strong cryptography AND obscurity, except for your insistence that hiding the key is a reasonable thing to do. It isn't reasonable. You should never attempt to hide a key using steganography when you can memorize a passphrase instead.
Hiding the key needlessly breaks the "strong cryptography" part. But you don't even need to hide the key. You can still have all the obscurity you want by hiding the ciphertext and memorizing the key.
If you do it this way, you'll still have your obscurity, but you'll also get strong cryptographic guarantees for free.