Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f64db24

Browse filesBrowse files
tniessenmarco-ippolito
authored andcommitted
doc: clarify authenticity of plaintexts in update
PR-URL: #53784 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent ce877c6 commit f64db24
Copy full SHA for f64db24

1 file changed

+5Lines changed: 5 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,11 @@ The `decipher.update()` method can be called multiple times with new data until
978978
[`decipher.final()`][] is called. Calling `decipher.update()` after
979979
[`decipher.final()`][] will result in an error being thrown.
980980

981+
Even if the underlying cipher implements authentication, the authenticity and
982+
integrity of the plaintext returned from this function may be uncertain at this
983+
time. For authenticated encryption algorithms, authenticity is generally only
984+
established when the application calls [`decipher.final()`][].
985+
981986
## Class: `DiffieHellman`
982987

983988
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.