index.html

来自「aesutil是一个小型的库和命令行程序」· HTML 代码 · 共 156 行

HTML
156
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>  <title>aesutil</title>  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body><div align="center"><h1>aesutil</h1><div align="left"><h2>Description<br></h2>aesutil is a command line program to encrypt and decrypt data using theRjiandel algorythm. It runs certainly on Linux, Mac OS X and Windows,but should probably run on any UNIX platform with /dev/urandom.(Contributions of other randon generator implementations arewelcome...).<br><br><ul>  <li>The whole aes encryption backend stuff was written by BrianGladman.</li>  <li>The wrapper functions to encrypt and decrypt from memory buffersusing a password for the key was written by Markus Lagler.</li>  <li>The frontend and the UNIX porting (mainly the randon generator)was written by Tim Tassonis.</li>  <li>The command line option parsing was done using Steve Mertz'excellent and platform independant getopts implementation.</li></ul></div><div align="left"><h2>Usage</h2><br><br><pre>Usage: ./aes [options]<br><br>  --help,       -h                      Displays this information<br>  --encrypt,    -e                      Encrypt the data<br>  --decrypt,    -d                      Decrypt the data<br>  --base64,     -b                      base64 encode/decode encrypted data<br>  --block,      -B                      Format base64 data as lines of 60 bytes<br>  --password,   -p &lt;args&gt;               Password (if omitted, will prompt)<br>  --string,     -s &lt;args&gt;               Input String (if omitted, stdin)<br>  --file,       -f &lt;args&gt;               Input File (if ommitted, stdin)<br>  --count,      -c &lt;args&gt;               Number of input bytes to read<br>  --out,        -o &lt;args&gt;               Outputfile instead of stdout<br>  --version,    -V                      Show version information<br><br></pre><table cellpadding="2" cellspacing="2" border="1" width="100%">  <tbody>    <tr>      <th valign="top">Option<br>      </th>      <th valign="top">Description<br>      </th>    </tr>    <tr>      <td valign="top">-e/--encrypt<br>      </td>      <td valign="top">Encrypt the data<br>      </td>    </tr>    <tr>      <td valign="top">-d/--decrypt<br>      </td>      <td valign="top">Decrypt the data<br>      </td>    </tr>    <tr>      <td valign="top">-b/--base64<br>      </td>      <td valign="top">On encrypt: base64- encode the encrypted databefore output<br>On decrypt: encrypted data is base64- encoded, decode before decryption<br>      </td>    </tr>    <tr>      <td style="vertical-align: top;">-B/--block<br>      </td>      <td style="vertical-align: top;">Format base64 data as lines of60 bytes<br>      </td>    </tr>    <tr>      <td valign="top">-p/--password<br>      </td>      <td valign="top">Use this passphrase for decryption/encryption.If omitted, password is asked.<br>      </td>    </tr>    <tr>      <td valign="top">-s/--string<br>      </td>      <td valign="top">If specified, use this string as input data. Ifomitted, data will be read from file or stdin<br>      </td>    </tr>    <tr>      <td valign="top">-f/--file<br>      </td>      <td valign="top">If specified, use this file as input data. Ifomitted, data will be read from stdin.<br>      </td>    </tr>    <tr>      <td valign="top">-c/--count<br>      </td>      <td valign="top">Only use specified amount of bytes from inputsource.<br>      </td>    </tr>    <tr>      <td valign="top">-o/--out<br>      </td>      <td valign="top">Write output to this file. If omitted, output iswritten to stdout.<br>      </td>    </tr>  </tbody></table><h2>Download</h2>The current version is 1.0.6.<br><br><ul>  <li><a href="http://my.cubic.ch/%7Etimtas/aes/aes-1.0.6.tar.gz">aes-1.0.6.tar.gz</a>,containing the source code</li>  <li><a href="http://my.cubic.ch/%7Etimtas/aes/aes-1.0.6.zip">aes-1.0.6.zip</a>,containing the source code and the windows binary</li></ul><h2>Bugs/Shortcomings</h2><ul>  <li>The passphrase-to-key-conversion is crap at best.</li>  <li>Invalid passphrases can't be recognized.</li>  <li>The base64 handling can't handle base64 blocks (only one singlestream)<br>  </li></ul><br><br>There may be more and I'm glad for any bug reports. Please send a mailto: <a href="mailto:timtas@dplanet.ch">timtas@dplanet.ch</a><br><h2>Links</h2><ul>  <li><a href="http://fp.gladman.plus.com/cryptography_technology/rijndael/index.htm">BrianGladman's Homepage</a> </li>  <li><a href="http://www.esat.kuleuven.ac.be/%7Erijmen/rijndael/index.html">TheRijndael Page</a> by its authors, Joan Daemen and Vincent Rijmen</li>  <li>Steve Mertz's <a href="http://www.dragon-ware.com/%7Esteve/projects/getopts/">getOptsHomepage</a></li></ul><h2>Thanks</h2><ul>  <li>Daniel J. Zavitz for formatted base64 output patch</li>  <li>David K. Watson for bug reports</li>  <li>Eric Harlow for bug reports</li>  <li>Andrew Frezell for bug report and patch</li>  <li>Richard Curnow for bug report and patch</li>  <li>Greep for bug report and patch</li>  <li>Juli&aacute;n Mu&ntilde;oz for bug report</li></ul><br></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?