Add md5 for digest method.