Lightweight encryption key exchange protocol

前端 未结 2 1281
既然无缘
既然无缘 2021-02-11 01:38

I have an embedded system posting data to a JSON REST service via HTTP. I\'m currently using HMAC-SHA1 for authentication, the same way that Amazon AWS does it.

I\'m now

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-11 01:58

    SSL uses Diffie-Hellman (DH) for key exchange. I think you can implement it (DH) relatively easily in your code. The only question you need to think of is that DH itself doesn't stand against man-in-the-middle (MITM) attack. There are several options to solve this problem. The Wikipedia article mentions them so you have something to start with.

提交回复
热议问题