I have written the below code and it runs perfectly. After mining and passing the values along with certain gas value, i get transaction hash as output on the geth console. Now i want to know the output of sha3 function applied in the code?
contract C {
string a;
string b;
bytes32 d;
function identify(string sm, string bm, bytes32 i) returns (bytes32 hash){
a = sm;
b =bm;
d = i;
return sha3(sm, bm, i);
}
}
Once mining is done. i type the following command:
c.identify("Bob","Alice",1234);
I get the transaction has i.e
Contract mined! address: 0x1df37eeccc9278b04497b4a3c97388cac3a98e6f
transactionH
ash: 0x7bf49540c9db92cab84b483514ffebdb600d39889ef2319904bc788d7c87afd9
c.identify("rahul","ankesh",1234,{from:primary,gas:300000})
"0x24d344a11f9aa84d43ccf0e17e635750e3d44fee0c4eaba1c1dea8ebbdaf3376".
Now, where is the output of the sha3 function?