Mask generation function: Difference between revisions

Content deleted Content added
Labroatories -> laboratories (at MGF1 examples)
Turned overview section into lead
Line 1:
A '''Mask Generation Function''' ('''MGF''') is a cryptographic primitive similar to a [[Cryptographic hash function]] except that while a hash function's output is a fixed size, a MGF supports output of a variable length. In this respect, a MGF can be viewed as a single-use [[Sponge function]], it can absorb any length of input and process it to produce any length of output. Mask Generation Functions are completely deterministic. For any given input and desired output length the output is always the same.
{{lead missing|date=February 2017}}
 
== OverviewDefinition ==
 
A Mask Generation Function (MGF) is a cryptographic primitive similar to a [[Cryptographic hash function]] except that while a hash function's output is a fixed size, a MGF supports output of a variable length. In this respect, a MGF can be viewed as a single-use [[Sponge function]], it can absorb any length of input and process it to produce any length of output. Mask Generation Functions are completely deterministic. For any given input and desired output length the output is always the same.
 
=== Definition ===
 
"A mask generation function takes an octet string of variable length