http与https

https的好处:

  1、防止中间人攻击,采用公钥和私钥的方式

  2、验证身份,采用ca证书的方式

原文地址:https://www.cnblogs.com/smallpigger/p/9626774.html