With canning be it pickles, jams and jellies or vegetables there are food safety issues that need to be addressed. Here's the National Food Preservation website that will answer all your food preservation questions, provide tested recipes and explain why and how foods need to be processed and for how long to prevent bacterial problems. Good luck with the dill pickles!
http://www.uga.edu/nchfp/