if I keccak256(string1, address1) in Solidity, and then use web3.sha3(string1, address1) in web3.js, I get different results, even though when I do both with only string1 as a single argument, they are the same results. I have tried passing {encoding: 'hex'} to the web3 call but it still gives different results.
Does anyone know how to make web3.sha3(...args), with any arguments (uint, address, string, etc) exactly equal to keccak256 in Solidity?