fix typo in call to validateHashedString in sample code