Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我使用任何 TLS_PSK_* 密码套件,那么我只需要在客户端和服务器之间使用一些预共享密钥来加密和解密消息。
我是通过普通 Socket 还是 SSLSocket 发送加密消息有关系吗?如何?
尽管自己创建安全连接并非不可能(我想您是在暗示),但存在很多陷阱,答案通常是“是”。如果 TLS 可用,请使用 TLS,协议和密码套件越新越好...