| 1 | |
|---|
| 2 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> |
|---|
| 5 | <head> |
|---|
| 6 | <style type="text/css"><!-- |
|---|
| 7 | @import url("../www/wizard.css"); |
|---|
| 8 | //--></style> |
|---|
| 9 | <title>Wizard's Toolkit: Command-line Tools: Cipher-info</title> |
|---|
| 10 | <meta http-equiv="Content-Language" content="en-US"/> |
|---|
| 11 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
|---|
| 12 | <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/> |
|---|
| 13 | <meta name="Generator" content="PHP"/> |
|---|
| 14 | <meta name="Keywords" content="command-line, tools:, cipher-info, WizardsToolkit, Wizard's, Toolkit"/> |
|---|
| 15 | <meta name="Description" content="The Wizard's Toolkit, version 1.0.2, is a free C API that includes a number of methods most developers will find useful in their projects."/> |
|---|
| 16 | <meta name="Rating" content="INDEX, FOLLOW"/> |
|---|
| 17 | <meta name="Robots" content="ALL"/> |
|---|
| 18 | <meta name="Generator" content="ImageMagick Studio LLC"/> |
|---|
| 19 | <meta name="Author" content="ImageMagick Studio LLC"/> |
|---|
| 20 | <meta name="Revisit-after" content="2 DAYS"/> |
|---|
| 21 | <meta name="Resource-type" content="document"/> |
|---|
| 22 | <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/> |
|---|
| 23 | <meta name="Distribution" content="Global"/> |
|---|
| 24 | <link rel="shortcut icon" href="../images/wand.ico" type="images/vnd.microsoft.icon"/> |
|---|
| 25 | </head> |
|---|
| 26 | |
|---|
| 27 | <body id="www-wizards-toolkit.org"> |
|---|
| 28 | <table id="titlebar" style="width: 100%;background-color: #f5f5f5" cellpadding="0" cellspacing="0" border="0" summary="Wizard's Toolkit"> |
|---|
| 29 | <tbody> |
|---|
| 30 | <tr valign="top"> |
|---|
| 31 | <td align="left"><a href="../index.html"><img id="titlebar-west" src="../images/script.png" alt="[Wizard's Toolkit]" width="400" height="60" border="0" vspace="28" name="titlebar-west" /></a></td> |
|---|
| 32 | <td align="left"><a href="http://www.wizards-toolkit.org/" target="853737392"><img id="titlebar-west" src="../images/sponsor.jpg" alt="[sponsor]" border="0" vspace="28" name="titlebar-west" /></a></td> |
|---|
| 33 | <td width="99%"><br /></td> |
|---|
| 34 | <td style="background-color: white" align="right"><a href="../index.html"><img src="../images/sprite.jpg" alt="" width="114" height="118" border="0" name="titlebar-east" /></a></td> |
|---|
| 35 | <td style="background-color: white" align="right"><a href="http://www.wizards-toolkit.org/discourse-server/viewforum.html?f=17" target="1939201859"><img id="titlebar-east" src="../images/logo.jpg" alt="" width="114" height="118" border="0" name="titlebar-east" /></a></td> |
|---|
| 36 | </tr> |
|---|
| 37 | </tbody> |
|---|
| 38 | </table> |
|---|
| 39 | |
|---|
| 40 | <table style="width: 100%" border="0" cellpadding="0" cellspacing="0" summary=""> |
|---|
| 41 | <tbody> |
|---|
| 42 | |
|---|
| 43 | <tr valign="top" style="height: 100%;"> |
|---|
| 44 | <td id="menu" width="1%" height="100%"> |
|---|
| 45 | <p><a href="#main">Skip to page contents</a></p> |
|---|
| 46 | <font size="-1"> |
|---|
| 47 | <span>[</span> |
|---|
| 48 | <a href="../index.html">About the<br />Wizard's Toolkit</a> |
|---|
| 49 | <span>]</span><br /><span>[</span> |
|---|
| 50 | <a href="../www/command-line-tools.html">Command-line Tools</a> |
|---|
| 51 | <span>]</span><br /><span>[</span> |
|---|
| 52 | <a href="../www/api.html">Application Program<br />Interface</a> |
|---|
| 53 | <span>]</span><br /><span>[</span> |
|---|
| 54 | <a href="../www/install-source.html">Install from Source</a> |
|---|
| 55 | <a href="../www/install-source.html#unix" class="sub">Unix</a> |
|---|
| 56 | <a href="../www/install-source.html#windows" class="sub">Windows</a> |
|---|
| 57 | <a href="../www/binary-releases.html">Binary Releases</a> |
|---|
| 58 | <a href="../www/binary-releases.html#unix" class="sub">Unix</a> |
|---|
| 59 | <a href="../www/binary-releases.html#windows" class="sub">Windows</a> |
|---|
| 60 | <span>]</span><br /><span>[</span> |
|---|
| 61 | <a href="../www/download.html">Download</a> |
|---|
| 62 | <span>]</span><br /><span>[</span> |
|---|
| 63 | <a href="../www/sponsors.html">Sponsors:</a> |
|---|
| 64 | <fieldset> |
|---|
| 65 | <a href="http://www.anxietyspinnerrings.com" class="sponsor" target="sponsor">Silver Rings</a><!-- 200904010140 --> |
|---|
| 66 | <br /> |
|---|
| 67 | </fieldset> |
|---|
| 68 | <span>]</span> |
|---|
| 69 | </font> |
|---|
| 70 | </td> |
|---|
| 71 | |
|---|
| 72 | <td id="main" valign="top"> |
|---|
| 73 | <p class="navigation-index">[<a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a>]</p> |
|---|
| 74 | |
|---|
| 75 | <p>The <kbd>cipher-info</kbd> program describes the format and characteristics of one or more encrypted files. It also reports if the file is incomplete or corrupt. The information returned includes the file name, the protocol, the ID and length of the key, the cipher type, the cipher mode, the hash, ithe entropy type and level, and finally the chunksize and timestamp.</p> |
|---|
| 76 | |
|---|
| 77 | <div style="margin: auto;"> |
|---|
| 78 | <h2><a name="usage"></a>Example Usage</h2> |
|---|
| 79 | </div> |
|---|
| 80 | |
|---|
| 81 | <p>We list a few examples of the <kbd>cipher-info</kbd> command here to illustrate its usefulness and ease of use. To get started, lets identify a ciphertext file:</p> |
|---|
| 82 | |
|---|
| 83 | <pre class="text"> |
|---|
| 84 | cipher-info README.cip |
|---|
| 85 | </pre> |
|---|
| 86 | |
|---|
| 87 | <p>returns:</p> |
|---|
| 88 | |
|---|
| 89 | <pre class="code"> |
|---|
| 90 | Filename: README.cip |
|---|
| 91 | Cipher: |
|---|
| 92 | type: AES |
|---|
| 93 | mode: CTR |
|---|
| 94 | nonce: 85b5546f57c760620000000000000000 |
|---|
| 95 | Authenticate: |
|---|
| 96 | method: Secret |
|---|
| 97 | Key: |
|---|
| 98 | hash: SHA256 |
|---|
| 99 | length: 512 |
|---|
| 100 | session: b69f10215a7b65043faa45443017a8fccacecdd04073d1b9895bdd3a5eb8ace1 |
|---|
| 101 | Entropy Generator: |
|---|
| 102 | type: BZip |
|---|
| 103 | level: 6 |
|---|
| 104 | Keyed-Hashed Message Authentication Code: |
|---|
| 105 | hash: SHA256 |
|---|
| 106 | Random Generator: |
|---|
| 107 | hash: SHA256 |
|---|
| 108 | Chunksize: 8kb |
|---|
| 109 | Dates: |
|---|
| 110 | modify: 2009-01-19T20:41:19-05:00 |
|---|
| 111 | create: 2009-01-23T15:10:47-05:00 |
|---|
| 112 | timestamp: 2009-01-23T15:13:44-05:00 |
|---|
| 113 | Protocol: 1.0 |
|---|
| 114 | Version: WizardsToolkit 1.0.6 01/23/08 http://www.wizards-toolkit.org |
|---|
| 115 | </pre> |
|---|
| 116 | |
|---|
| 117 | <div style="margin: auto;"> |
|---|
| 118 | <h2><a name="options"></a>Option Summary</h2> |
|---|
| 119 | </div> |
|---|
| 120 | |
|---|
| 121 | <p>The <kbd>cipher-info</kbd> command recognizes these options. Click on an option to get more details about how that option works.</p> |
|---|
| 122 | |
|---|
| 123 | |
|---|
| 124 | <table id="table" cellpadding="2" cellspacing="0" style="width: 93%"> |
|---|
| 125 | <tbody> |
|---|
| 126 | <tr> |
|---|
| 127 | <th align="left">Option</th> |
|---|
| 128 | <th align="left">Description</th> |
|---|
| 129 | </tr> |
|---|
| 130 | |
|---|
| 131 | <tr> |
|---|
| 132 | <td valign="top"><a href="../www/command-line-options.html#debug" target="wizard-options">-debug <em class="option">events</em></a></td> |
|---|
| 133 | <td valign="top">display copious debugging information</td> |
|---|
| 134 | </tr> |
|---|
| 135 | |
|---|
| 136 | <tr> |
|---|
| 137 | <td valign="top"><a href="../www/command-line-options.html#help" target="wizard-options">-help</a></td> |
|---|
| 138 | <td valign="top">print program options</td> |
|---|
| 139 | </tr> |
|---|
| 140 | |
|---|
| 141 | <tr> |
|---|
| 142 | <td valign="top"><a href="../www/command-line-options.html#log" target="wizard-options">-log <em class="option">format</em></a></td> |
|---|
| 143 | <td valign="top">format of debugging information</td> |
|---|
| 144 | </tr> |
|---|
| 145 | |
|---|
| 146 | <tr> |
|---|
| 147 | <td valign="top"><a href="../www/command-line-options.html#version" target="wizard-options">-version</a></td> |
|---|
| 148 | <td valign="top">print version information</td> |
|---|
| 149 | </tr> |
|---|
| 150 | |
|---|
| 151 | </tbody> |
|---|
| 152 | </table> |
|---|
| 153 | </td> |
|---|
| 154 | <td id="margin" width="1%" height="100%" valign="top" align="right"> </td> |
|---|
| 155 | </tr> |
|---|
| 156 | </tbody> |
|---|
| 157 | </table> |
|---|
| 158 | <div id="linkbar"> |
|---|
| 159 | <a href="http://www.wizards-toolkit.org/discourse-server/viewforum.html?f=17" target="911570196">Discourse Server</a> | |
|---|
| 160 | <a href="../www/license.html">License</a> | |
|---|
| 161 | <a href="../www/notice.html">Notice</a> |
|---|
| 162 | </div> |
|---|
| 163 | <div id="footer"> |
|---|
| 164 | <span id="footer-west">© 1999-2009 ImageMagick Studio LLC</span> |
|---|
| 165 | </div> |
|---|
| 166 | <div style="clear: both; margin: 0; width: 100%; "></div> |
|---|
| 167 | </body> |
|---|
| 168 | </html> |
|---|