The Australian government has released a draft of its long-awaited bill to provide law enforcement and security agencies with new powers to respond to the challenges posed by encryption.