I want to pass a Keccak-256 hashed value from the front-end, say a string "experiment". I store the value in Solidity, and, when passing the same value for the second time, a Solidity function needs to compare the values, and give true, if those values are identical.
I have been unsuccessful of comparing the values so far. I am trying this online tool: Link , and then generate the value in Solidity via
keccak256('experiment'). The results do not seem to match.
Any advice on how to achieve that?