The Australian government has proposed a new cybersecurity law to force global technology companies such as Facebook and Google to give law enforcement agencies access to encrypted messages sent by suspected extremists and criminals.