Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2883,11 +2883,10 @@ const receivedPlaintext = decipher.update(ciphertext, null, 'utf8');

try {
decipher.final();
console.log(receivedPlaintext);
} catch (err) {
console.error('Authentication failed!');
Comment thread
tniessen marked this conversation as resolved.
}

console.log(receivedPlaintext);
```

## Crypto Constants
Expand Down