1
The above statement is taken out of a book which I've been reading: Mastering Bitcoin 2nd Edition.
...as its communications and transaction data are not encrypted and do not need to be encrypted to protect the funds...
Just started about bitcoin, going through the third chapter and when I come across the above lines, I merely struck by one question, and that is, if the communication happens between (peers' / wallet to bitcoin network) is not encrypted...then I am just thinking a scenario
X is sending BTC to Z (obviously by mentioning Z's address in txn)
Y (bad guy) cuts in the communication which is not encrypted (as per the above reading) and tampers the transaction that X has been sent ( by Just putting his address in beneficiary )
I mean, honestly, it is a very naive scenario that anyone could think of and I know there would be something in bitcoin (which I am not aware of) could prevent this from happening, so, giving clarification on how this kind of attacks being handled or mitigated in Bitcoin would be much helpful for this post.
"if a middle man tampers with the transaction, then the digital signature verification would fail, because the only way to produce a valid signature is to have the original private key".......................one can possibly keep the signature intact and modify the beneficiary can't they? – RaGa__M – 2019-08-28T05:26:06.633
@Explorer_N no, the signature is made over the relevant parts of the transaction, including the recipients address. Modifying any of that data will cause the signature verification to fail. – chytrik – 2019-08-28T05:39:04.620
@Explorer_N Related question discussing about modification of recipient: https://bitcoin.stackexchange.com/questions/90028/what-is-stopping-me-from-modifying-the-mempool-of-my-node-may-it-be-pos-or-pow
– Ugam Kamat – 2019-08-28T06:03:32.063