Web3.cpp 228 B

1234567891011
  1. #include <libdevcore/SHA3.h>
  2. #include <libethcore/CommonJS.h>
  3. #include "Web3.h"
  4. using namespace std;
  5. using namespace dev;
  6. std::string rpc::Web3::web3_sha3(std::string const& _param1)
  7. {
  8. return toJS(sha3(jsToBytes(_param1)));
  9. }