X Tutup
The Wayback Machine - https://web.archive.org/web/20190413022755/https://github.com/nodejs/node/commit/4f17841c20
Skip to content
Permalink
Browse files

doc: use Class Method label consistently

The Buffer doc has a helpful "Class Method" label before static methods
on the Buffer class. The only other class in the docs that I can find
with static methods is ECDH in crypto. Add the label to the one static
method on the ECDH class.

PR-URL: #21357
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information...
Trott authored and targos committed Jun 15, 2018
1 parent 98346de commit 4f17841c20cff73711716fcc25f65329c78d92e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/crypto.md
@@ -667,7 +667,7 @@ assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));
// OK
```

### ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
### Class Method: ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
<!-- YAML
added: v10.0.0
-->

0 comments on commit 4f17841

Please sign in to comment.
You can’t perform that action at this time.
X Tutup