The Chinese government has just passed a security law that reportedly could require technology companies to hand over encryption keys to private data. The law is so controversial that President Obama personally raised concerns about it to President Xi Jinping.