working hash verification