The move was aimed at protecting against the misuse of online platforms, including encrypted applications, that pose risks to public safety and security.