The head of WhatsApp signals the firm will resist efforts to weaken its encryption, as the UK and EU look to enact legislation that could compel firms to scan messages.