Canada's justice minister preparing bill to limit encryption