#28 Error object creation will now returns NULL for errorcode 0
#26 DRY code even more
#29 Buffer now correctly working
#27 DRY code
Due to code changes, there is no need to override verifyHash function in JS land