I'm quite new in Ethereum world and I'm still little bit confused about this: If I store any data on blockchain, is it readable from anyone? Let's say I have this is Solidity:
...
string private myVerySecretText;
function getText() external returns(string){
require(msg.sender == something);
return myVerySecretText;
}
...
If I'm the user that match the require
statement, I can access the data, but is there some possiblity to read this data from anyone else? I know that the whole blockchain is public, so is there possible to read somehow even the private
data? And can anyone read the code from my smartcontract when is deployed on a blockchain?