"\nReturns the hash of the data in a hex message\n"
"\nArguments:\n"
"\"hexdata\" (string, required) This message is converted from hex, the data is hashed, then returned\n"
"\"hashtype\" (string, optional) one of (\"sha256rev\", \"sha256D\", \"blake2b\", \"blake2bnopersonal\", \"keccak256\", \"verushash2\", \"verushash2b\", \"verushash2.1\"), defaults to sha256\n"
"\"personalstring\" (string, optional) For hashes with personalization string, such as blake2b, this is optional and will default to daemon default if not specified\n"
"\nResult:\n"
"\"hashresult\" (hexstring) 32 byte hash in hex of the data passed in using the hash of the specific blockheight\n"
throwJSONRPCError(RPC_INVALID_PARAMETER,"Hash type "+hashType+" must be one of (\"sha256\", \"sha256D\", \"keccak256\", \"verushash2\", \"verushash2b\", \"verushash2.1\")");
throwJSONRPCError(RPC_INVALID_PARAMETER,"Hash type "+hashType+" must be one of (\"sha256rev\", \"sha256D\", \"blake2b\", \"blake2bnopersonal\",\"keccak256\", \"verushash2\", \"verushash2b\", \"verushash2.1\")");