Reusable hashcash for spam prevention