summaryrefslogtreecommitdiff
path: root/doc/api/crypto.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-06-15 12:54:50 -0700
committerRich Trott <rtrott@gmail.com>2018-06-16 07:56:51 -0700
commit859a8d1907e672009362ec37d58d0b5892e154d4 (patch)
treee7630d63b1c0e90b3c580dd1e1034c455d2316e0 /doc/api/crypto.md
parentff00a765dc6d78fb42139cc52b906ddd5fbb7d7f (diff)
downloadandroid-node-v8-859a8d1907e672009362ec37d58d0b5892e154d4.tar.gz
android-node-v8-859a8d1907e672009362ec37d58d0b5892e154d4.tar.bz2
android-node-v8-859a8d1907e672009362ec37d58d0b5892e154d4.zip
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: https://github.com/nodejs/node/pull/21357 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index c88f856ed2..6c52cebae4 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -672,7 +672,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
-->