Actually, a firecracker can be used as a detonator (think blasting cap) for many different explosives including a few that would get by bomb sniffer dogs.
I'm not sure what explosives you are referring too but I think most require a high explosive with much more energy than a fircracker could provide.
You ain't too bright....and probably shouldn't be in the police court security business
imo