Fix argument order

`gethash` takes key as first argument and hash as second argument.
Merge pull request #68 from syohex/fix-for-hash

Fix argument order