Anyone can see the password by the Etherscan or other block explorer (like polygonscan) transaction history. This is link of transaction
Go to this link and follow the steps below.
Click on the + Click to show More
.
Go to Input Data section.
Click on the Decode Input Data
button.
here you can see the password and you are not owner .
Anyone can see the password without interacting with the contract.
foundry
etherscan
we can take encrypted password
as the parameter of the setpassword function which can only decrypted by the owner private key.
Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.