Template:Infobox encryption method: Difference between revisions

Content deleted Content added
move name within infobox
top: wikilink
 
(40 intermediate revisions by 16 users not shown)
Line 1:
{{ infobox
{| class="infobox" style="float: right; clear: right; width: 23em; font-size: 90%;"
| title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|colspan="2" style="text-align: center; font-size: larger; padding-bottom: 8px" | '''{{{name}}}'''
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}
{{#if:{{{image<includeonly>|</includeonly>}}}
| caption = {{{caption|}}}
|<tr><td colspan="2" style="text-align: center; style="text-align:center; border-bottom: 1px solid dimgray;">{{{image<includeonly>|</includeonly>}}}
<div><small>{{{caption}}}</small></div></td></tr>
|
}}<!--
-->{{#if:{{{designers<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Designer(s):</th>
<td>{{{designers}}}</td></tr>
|
}}<!--
-->{{#if:{{{publish date<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">First published:</th>
<td>{{{publish date}}}</td></tr>
|
}}<!--
-->{{#if:{{{derived from<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Derived from:</th>
<td>{{{derived from}}}</td></tr>
|
}}<!--
-->{{#if:{{{derived to<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Successor(s):</th>
<td>{{{derived to}}}</td></tr>
|
}}<!--
-->{{#if:{{{related to<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Related to:</th>
<td>{{{related to}}}</td></tr>
|
}}<!--
-->{{#if:{{{certification<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Certification:</th>
<td>{{{certification}}}</td></tr>
|
}}<!--
-->{{#if:{{{key size<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">[[key size|Key size(s)]]:</th>
<td>{{{key size}}}</td></tr>
|
}}<!--
-->{{#if:{{{security claim<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">[[security claim|Security claim(s)]]:</th>
<td>{{{security claim}}}</td></tr>
|
}}<!--
-->{{#if:{{{block size<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">[[block size (cryptography)|Block size(s)]]:</th>
<td>{{{block size}}}</td></tr>
|
}}<!--
-->{{#if:{{{structure<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Structure:</th>
<td>{{{structure}}}</td></tr>
|
}}<!--
-->{{#if:{{{rounds<includeonly>|</includeonly>}}}
|<tr><th style="white-space: nowrap;">Rounds:</th>
<td>{{{rounds}}}</td></tr>
|
}}<!--
-->{{#if:{{{cryptanalysis<includeonly>|</includeonly>}}}
|<br />
<tr><th colspan="2" style="text-align: center; white-space: nowrap;">Best public [[cryptanalysis]]:</th></tr>
<tr><td colspan="2" style="font-size: smaller">{{{cryptanalysis}}}</td></tr>
|
}}<!--
-->
|}<!--
 
| header1 = {{#if:{{{designers|}}}{{{publish date|}}}{{{series|}}}{{{derived from|}}}{{{derived to|}}}{{{related to|}}}{{{certification|}}}|General}}
--><includeonly>[[Category:Block ciphers]]</includeonly><noinclude>
| label2 = Designers
===Syntax===
| data2 = {{{designers|}}}
<pre>
| label3 = First published
{{Infobox block cipher
| namedata3 = {{{publish = date|}}}
| image label4 = Series
| caption data4 = {{{series|}}}
| designers label5 = Derived from
| publishdata5 date = {{{derived from|}}}
| derivedlabel6 from = Successors
| deriveddata6 to = {{{derived to|}}}
| related tolabel7 = Related&nbsp;to
| data7 = {{{related to|}}}
| certification =
| key size label8 = Certification
| data8 = {{{certification|}}}
| security claim =
| block size =
| structure =
| rounds =
| cryptanalysis =
}}
</pre>
===Description of fields===
(See [[Template talk:Infobox block cipher|talk page]] for an example)
 
All fields except for ''name'' are optional.
 
*'''name''': Name of the block cipher, or preferably the abbreviation if the expansion contains multiple words and would not fit well.
*'''image''': An illustrative image for the block cipher; typically this would contain the cipher's Feistel function for Feistel-structured ciphers.
**'''caption''': (Only if the image field is specified) caption for the image.
*'''designers''': Names of the designers/authors of the block cipher, separated by commas. Should not contain organization names ''unless'' names of the real authors are unknown. The names should be linked if articles about them exist.
*'''publish date''': Date that the block cipher was first presented. If the exact date is unknown, this should at least contain the year number.
*'''derived from''': A comma-separated list of block ciphers that inspired the design of the subject block cipher.
*'''derived to''': A comma-separated list of block ciphers whose design was inspired by the subject block cipher.
*'''related to''': A list of block ciphers that are otherwise related to the subject. This field should be used minimally, and only when the relation is clearly remarkable.
*'''certification''': Entities that have selected/recommended this algorithm. For example, "[[AES finalist]]", "[[NESSIE]]", "[[CRYPTREC]]"
*'''key size''': Key size(s) that the block cipher was originally designed to operate with, in bits. Should contain the suffix "bits". May contain multiple sizes. For example, AES submissions would have "128, 192 or 256 bits"
*'''security claim''': Security claims(s) that the block cipher was originally designed to achieve with, in bits. Should contain the suffix "bits". May contain multiple sizes. For example, submissions would have "128, 192 or 256 bits"
*'''block size''': Size(s) of the input and output blocks of the block cipher. Should contain the suffix "bits". May contain multiple sizes.
*'''structure''': If the cipher follows a common structure. Typical ciphers should have "[[Feistel network]]" or "[[Substitution-permutation network]]" here.
*'''rounds''': The number(s) of rounds the cipher was originally designed to work with. May contain several values.
*'''cryptanalysis''': The best-known cryptanalysis for the subject cipher. Should contain a brief overview of the vulnerabilities found, and a [[WP:FOOT|footnote]] link to the reference.
 
=== Extra features ===
 
* Articles that use this template are automatically included in the [[:Category:Block ciphers]].
 
 
[[Category:Cryptography templates|Block cipher]]
[[Category:Templates using ParserFunctions|Block cipher]]
[[Category:Technology infobox templates|Block cipher]]
 
| header9 = {{#if:{{{digest size|}}}{{{key size|}}}{{{security claim|}}}{{{block size|}}}{{{state size|}}}{{{structure|}}}{{{rounds|}}}|{{#if:{{{key size|}}}{{{block size|}}}|Cipher detail|Detail}} }}
| label10 = [[Cryptographic hash function|Digest size]]s
| data10 = {{{digest size|}}}
| label11 = [[Key size]]s
| data11 = {{{key size|}}}
| label12 = Security claims
| data12 = {{{security claim|}}}
| label13 = [[Block size (cryptography)|Block size]]s
| data13 = {{{block size|}}}
| label14 = State size
| data14 = {{{state size|}}}
| label15 = Structure
| data15 = {{{structure|}}}
| label16 = [[Round (cryptography)|Rounds]]
| data16 = {{{rounds|}}}
| label17 = Speed
| data17 = {{{speed|}}}
 
| header18 = {{#if:{{{cryptanalysis|}}}|Best public [[cryptanalysis]]}}
| below = {{{cryptanalysis|}}}
| belowstyle = line-height: 1.25em; text-align: left
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}| {{#if:{{{digest size|}}}|[[Category:Cryptographic hash functions]]|{{#if:{{{block size|}}}|[[Category:Block ciphers]]|{{#if:{{{state size|}}}|[[Category:Stream ciphers]]}} }} }} }}</includeonly><noinclude>{{documentation}}<!-- Please add metadata to the <includeonly> section on the /doc subpage - thanks! -->
</noinclude>