Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2496:9dddac1420fe
Fixed typo in njs reference.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 30 Jan 2020 18:32:14 +0000 |
parents | 2aa02672d54f |
children | 805c4b84cc61 |
comparison
equal
deleted
inserted
replaced
2495:e4332b7580bb | 2496:9dddac1420fe |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Reference" | 9 <article name="Reference" |
10 link="/en/docs/njs/reference.html" | 10 link="/en/docs/njs/reference.html" |
11 lang="en" | 11 lang="en" |
12 rev="33"> | 12 rev="34"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <link doc="index.xml">njs</link> provides objects, methods and properties | 17 <link doc="index.xml">njs</link> provides objects, methods and properties |
1021 <tag-name id="crypto_createhash"><literal>crypto.createHash(<value>algorithm</value>)</literal></tag-name> | 1021 <tag-name id="crypto_createhash"><literal>crypto.createHash(<value>algorithm</value>)</literal></tag-name> |
1022 <tag-desc> | 1022 <tag-desc> |
1023 Creates and returns a <link id="crypto_hash">Hash</link> object | 1023 Creates and returns a <link id="crypto_hash">Hash</link> object |
1024 that can be used to generate hash digests | 1024 that can be used to generate hash digests |
1025 using the given <value>algorithm</value>. | 1025 using the given <value>algorithm</value>. |
1026 The algorighm can be | 1026 The algorithm can be |
1027 <literal>md5</literal>, | 1027 <literal>md5</literal>, |
1028 <literal>sha1</literal>, and | 1028 <literal>sha1</literal>, and |
1029 <literal>sha256</literal>. | 1029 <literal>sha256</literal>. |
1030 </tag-desc> | 1030 </tag-desc> |
1031 | 1031 |
1032 <tag-name id="crypto_createhmac"><literal>crypto.createHmac(<value>algorithm</value>, | 1032 <tag-name id="crypto_createhmac"><literal>crypto.createHmac(<value>algorithm</value>, |
1033 <value>secret key</value>)</literal></tag-name> | 1033 <value>secret key</value>)</literal></tag-name> |
1034 <tag-desc> | 1034 <tag-desc> |
1035 Creates and returns an <link id="crypto_hmac">HMAC</link> object | 1035 Creates and returns an <link id="crypto_hmac">HMAC</link> object |
1036 that uses the given <value>algorithm</value> and <value>secret key</value>. | 1036 that uses the given <value>algorithm</value> and <value>secret key</value>. |
1037 The algorighm can be | 1037 The algorithm can be |
1038 <literal>md5</literal>, | 1038 <literal>md5</literal>, |
1039 <literal>sha1</literal>, and | 1039 <literal>sha1</literal>, and |
1040 <literal>sha256</literal>. | 1040 <literal>sha256</literal>. |
1041 </tag-desc> | 1041 </tag-desc> |
1042 | 1042 |