mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Be clear that a lack of authentication often means you don't have secrecy (#5454)
This commit is contained in:
parent
ad05ebbb32
commit
3367c18bf2
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@ where the sender and receiver both use the same secret key. Note that symmetric
|
|||
encryption is **not** sufficient for most applications because it only
|
||||
provides secrecy but not authenticity. That means an attacker can't see the
|
||||
message but an attacker can create bogus messages and force the application to
|
||||
decrypt them.
|
||||
decrypt them. In many contexts, a lack of authentication on encrypted messages
|
||||
can result in a loss of secrecy as well.
|
||||
|
||||
For this reason it is **strongly** recommended to combine encryption with a
|
||||
message authentication code, such as :doc:`HMAC </hazmat/primitives/mac/hmac>`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue