Difference between revisions of "Template:Infobox encryption method"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (rm potential for spurious space using AWB)
imported>Thumperward
(general simplification)
Line 1: Line 1:
<noinclude>{{start infobox page}}</noinclude><!--
+
{{ infobox
-->{{Infobox
+
| title      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
|bodystyle    = width:23em; font-size:90%;
+
| image     = {{{image|}}}
|above        = {{{name}}}
+
| caption   = {{{caption|}}}
|abovestyle  = background:transparent; font-size:larger; font-weight:bold;
 
|image       = {{{image<includeonly>|</includeonly>}}}
 
|imagestyle  = padding-bottom:1.0em; text-align:center;
 
|caption     = <div style="padding-top:0.4em;">{{{caption<includeonly>|</includeonly>}}}</div>
 
|captionstyle = line-height:1.2em; font-size:80%;
 
|headerstyle  = background:lightsteelblue;
 
|labelstyle  = background:transparent; line-height:1.2em;
 
|datastyle    = line-height:1.2em; vertical-align:middle;
 
  
|header1 = {{#if:{{{designers<includeonly>|</includeonly>}}}<!--
+
| header1   = {{#if:{{{designers|}}}{{{publish date|}}}{{{series|}}}{{{derived from|}}}{{{derived to|}}}{{{related to|}}}{{{certification|}}}|General}}
              -->{{{publish date|}}}{{{series|}}}{{{derived from|}}}{{{derived to|}}}<!--
+
| label2     = Designers
              -->{{{related to|}}}{{{certification|}}}
+
| data2     = {{{designers|}}}
            | General}}
+
| label3     = First published
|label2 = Designers
+
| data3     = {{{publish date|}}}
|data2   = {{{designers}}}
+
| label4     = Series
|label3 = First published
+
| data4     = {{{series|}}}
|data3   = {{{publish date<includeonly>|</includeonly>}}}
+
| label5     = Derived from
|label4 = Series
+
| data5     = {{{derived from|}}}
|data4   = {{{series<includeonly>|</includeonly>}}}
+
| label6     = Successors
|label5 = Derived from
+
| data6     = {{{derived to|}}}
|data5   = {{{derived from<includeonly>|</includeonly>}}}
+
| label7     = Related&nbsp;to
|label6 = Successors
+
| data7     = {{{related to|}}}
|data6   = {{{derived to<includeonly>|</includeonly>}}}
+
| label8     = Certification
|label7 = Related&nbsp;to
+
| data8     = {{{certification|}}}
|data7   = {{{related to<includeonly>|</includeonly>}}}
 
|label8 = Certification
 
|data8   = {{{certification<includeonly>|</includeonly>}}}
 
  
|header9 = {{#if:{{{digest size<includeonly>|</includeonly>}}}<!--
+
| header9   = {{#if:{{{digest size|}}}{{{key size|}}}{{{security claim|}}}{{{block size|}}}{{{structure|}}}{{{rounds|}}}|{{#if:{{{key size|}}}{{{block size|}}}|Cipher detail|Detail}} }}
              -->{{{key size|}}}{{{security claim|}}}{{{block size|}}}<!--
+
| label10   = [[Digest size]]s
              -->{{{structure|}}}{{{rounds|}}}
+
| data10     = {{{digest size|}}}
            | {{#if:{{{key size|}}}{{{block size|}}} |Cipher detail |Detail}} }}
+
| label11   = [[Key size]]s
|label10 = [[Digest size]]s
+
| data11     = {{{key size|}}}
|data10 = {{{digest size<includeonly>|</includeonly>}}}
+
| label12   = Security claims
|label11 = [[Key size]]s
+
| data12     = {{{security claim|}}}
|data11 = {{{key size<includeonly>|</includeonly>}}}
+
| label13   = [[Block size (cryptography)|Block size]]s
|label12 = Security claims
+
| data13     = {{{block size|}}}
|data12 = {{{security claim<includeonly>|</includeonly>}}}
+
| label14   = Structure
|label13 = [[Block size (cryptography)|Block size]]s
+
| data14     = {{{structure|}}}
|data13 = {{{block size<includeonly>|</includeonly>}}}
+
| label15   = Rounds
|label14 = Structure
+
| data15     = {{{rounds|}}}
|data14 = {{{structure<includeonly>|</includeonly>}}}
 
|label15 = Rounds
 
|data15 = {{{rounds<includeonly>|</includeonly>}}}
 
  
|header16 = {{#if:{{{cryptanalysis<includeonly>|</includeonly>}}}
+
| header16   = {{#if:{{{cryptanalysis|}}}|Best public [[cryptanalysis]]}}
              | Best public [[cryptanalysis]]}}
+
| below      = {{{cryptanalysis|}}}
|data17  = <div style="line-height:1.25em; text-align:left;">{{{cryptanalysis}}}</div>
+
| belowstyle = line-height: 1.25em; text-align: left
}}
+
}}<includeonly>{{#if:{{{digest size|}}}|[[Category: Cryptographic hash functions]]|{{#if:{{{key size|}}}{{{block size|}}}|[[Category: Block ciphers]]}} }}</includeonly><noinclude>{{documentation}}<!-- Please add metadata to the <includeonly> section on the /doc subpage - thanks! --></noinclude>
<includeonly><!--
 
-->{{#if:{{{digest size|}}}
 
    | [[Category:Cryptographic hash functions]]
 
    | {{#if:{{{key size|}}}{{{block size|}}} |[[Category:Block ciphers]]}}<!--
 
-->}}</includeonly><noinclude>
 
{{end infobox page}}
 
 
 
<!---Please add metadata to the <includeonly> section on the /doc subpage - thanks!--->
 
</noinclude>
 

Revision as of 01:20, 4 December 2008

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Example usage

AES
AES-SubBytes.svg
The SubBytes step, one of four stages in a round of AES
General
DesignersVincent Rijmen, Joan Daemen
First published1998
Derived fromSquare
SuccessorsCRYPTON, Anubis, Grand Cru
Related to...
Cipher detail
Key sizes128, 192 or 256 bits
Block sizes128 bits
StructureSubstitution–permutation network
Rounds10, 12 or 14 (depending on key size)
Best public cryptanalysis
A related-key attack can break up to 9 rounds of 256-bit AES [...]
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox encryption method
| name          = AES
| image         = [[Image:AES-SubBytes.svg|280px|center]]
| caption       = The <code>SubBytes</code> step, one of four stages in a round of AES
| designers     = [[Vincent Rijmen]], [[Joan Daemen]]
| publish date  = 1998
| derived from  = [[Square (cipher)|Square]]
| derived to    = [[CRYPTON]], [[Anubis (cipher)|Anubis]], [[Grand Cru (cipher)|Grand Cru]]
| related to    = ...
| key size      = 128, 192 or 256 bits
| block size    = 128 bits
| structure     = [[Substitution–permutation network]]
| rounds        = 10, 12 or 14 (depending on key size)
| cryptanalysis = A [[related-key attack]] can break up to 9 rounds of 256-bit AES [...]
}}

This template summarizes information about an encryption method. If you have suggestions as to how the template may be improved, please leave a message on the talk page.

All available parameters

{{Infobox encryption method
| name          = 
| image         = 
| caption       = 
| designers     = 
| publish date  = 
| derived from  = 
| derived to    = 
| related to    = 
| key size      = 
| block size    = 
| structure     = 
| rounds        = 
| cryptanalysis = 
}}

Parameters

This infobox takes a number of parameters, which are all optional:

Parameter Description
name .
image .
caption .
designers .
publish date .
derived from .
derived to .
related to .
key size .
block size .
rounds .
cryptanalysis .