AES256 CBC + HMAC SHA256 ensuring confidentiality *and* authentication?

后端 未结 3 1286
南笙
南笙 2021-01-31 21:44

I\'m thinking of using AES256 CBC + HMAC SHA-256 as a building block for messages that ensures both confidentiality and authentication.

In particular, consider this scen

3条回答
  •  滥情空心
    2021-01-31 22:13

    If you don't want to use PKI, take a look at TLS-PSK. It would seem to solve the exact problem you are solving yourself. See RFC 4279 (and 5487 for additional ciphersuites).

提交回复
热议问题