added MD5 as an option to signature