Added code for MD5 signature