Overview
Comment: | Added random bytes command documentation |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | crypto |
Files: | files | file ages | folders |
SHA3-256: |
2eb1cc571bca957fc3e6d1a31298ba79 |
User & Date: | bohagan on 2023-12-28 03:02:21 |
Other Links: | branch diff | manifest | tags |
Context
2023-12-28
| ||
03:57 | Added random bytes test cases check-in: 7a89ccc39d user: bohagan tags: crypto | |
03:02 | Added random bytes command documentation check-in: 2eb1cc571b user: bohagan tags: crypto | |
03:00 | Added random bytes command to generate random bytes using a cryptographically secure pseudo random generator (CSPRNG). check-in: baa34f4208 user: bohagan tags: crypto | |
Changes
Modified doc/cryptography.html from [30f9acbd70] to [0f1e2a70be].
︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + | <dt> </dt> <dd><b>tls::encrypt</b> <b>-cipher</b> <em>name</em> <b>-key</b> <em>key ?options?</em></dd> <dd><b>tls::decrypt</b> <b>-cipher</b> <em>name</em> <b>-key</b> <em>key ?options?</em></dd> <dt> </dt> <dd><b>tls::hkdf -digest</b> <em>digest</em> <b>-key</b> <em>key ?options?</em></dd> <dd><b>tls::pbkdf2 -size</b> <em>length</em> <b>-digest</b> <em>digest ?options?</em></dd> <dd><b>tls::scrypt -password</b> <em>string</em> <b>-salt</b> <em>string ?options?</em></dd> <dt> </dt> <dd><b>tls::random</b> <em>?</em><b>-private</b><em>? length</em></dd> </dl> </dd> <dd><a href="#OPTIONS">OPTIONS</a></dd> <dd><a href="#COMMANDS">COMMANDS</a></dd> <dd><a href="#GLOSSARY">GLOSSARY</a> </dd> <dd><a href="#EXAMPLES">EXAMPLES</a></dd> <dd><a href="#SPECIAL">SPECIAL CONSIDERATIONS</a></dd> |
︙ | |||
93 94 95 96 97 98 99 100 101 102 103 104 105 106 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | + + + | <br> <a href="#tls::encrypt"><b>tls::encrypt</b> <b>-cipher</b> <i>name</i> <b>-key</b> <i>key ?options?</i></a><br> <a href="#tls::decrypt"><b>tls::decrypt</b> <b>-cipher</b> <i>name</i> <b>-key</b> <i>key ?options?</i></a><br> <br> <a href="#tls::hkdf"><b>tls::hkdf -digest</b> <i>digest</i> <b>-key</b> <i>key ?options?</i></a><br> <a href="#tls::pbkdf2"><b>tls::pbkdf2 -size</b> <i>length</i> <b>-digest</b> <i>digest ?options?</i></a><br> <a href="#tls::scrypt"><b>tls::scrypt -password</b> <i>string</i> <b>-salt</b> <i>string ?options?</i></a><br> <br> <a href="#tls::random"><b>tls::random</b> <i>?</i><b>-private</b><i>? length</i></a><br> </p> <br> <h3><a name="OPTIONS">OPTIONS</a></h3> <p>The following options are used by the cryptography commands.</p> <br> |
︙ | |||
537 538 539 540 541 542 543 544 545 546 547 548 549 550 | 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 | + + + + + + + + + + + + + + + | 2^(128 * r / 8). Default is 1048576.<td></tr> <tr><td><b>-r</b></td><td>The blockSize parameter specifies the block size. Must be greater than 0. Default is 8.<td></tr> <tr><td><b>-p</b></td><td>The parallelization parameter must be a positive integer less than or equal to ((2^32-1) * 32) / (128 * r). Default is 1.<td></tr> </table></blockquote> <br> <h4><a name="RAND">Random Bytes Commands</a></h4> These commands provide randomly generated byte strings. <br> <br> <dt><a name="tls::random"><strong>tls::random</strong> <em>?</em><b>-private</b><em>? length</em></a></dt> <dd>Generate <i>length</i> random bytes using a cryptographically secure pseudo random generator (CSPRNG). OpenSSL uses a security level of 256 bits. Will return an error if a trusted entropy source such as the OS isn't available. Use <b>-private</b> option if the values are intended to remain private in case the public PRNG is compromised.</dd> </dl> <br> <h3><a name="GLOSSARY">GLOSSARY</a></h3> <p>The following is a list of the terminology used in this package along with brief definitions. For more details, please consult with the OpenSSL documentation.</p> |
︙ |