Cookie-Parser是如何解析签名后的cookie的(同时对cookie和cookie-signature进行说明)
第一步:我们来学习一下cookie-signature:varcookie=require('./index');varval=cookie.sign('hello','tobiiscool');console.log(val);//打印hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QIvarunsign=cookie.unsign(val,'tob