crypto/rsa: EncryptOAEP documentation says "if a given public key is used to decrypt" instead of "encrypt" #44777
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What did you do?
Opened https://golang.org/pkg/crypto/rsa/#EncryptOAEP in browser
What did you expect to see?
For example, if a given public key is used to encrypt two types of messages, then distinct label values could be used to ensure that a ciphertext for one purpose cannot be used for another by an attacker.
What did you see instead?
For example, if a given public key is used to decrypt two types of messages then distinct label values could be used to ensure that a ciphertext for one purpose cannot be used for another by an attacker.
The text was updated successfully, but these errors were encountered: