Mask generation function: Difference between revisions

Content deleted Content added
Applications: Remove section on Salsa20 which is just mistaken. Salsa20 is a PRF, secure if the key is unknown. An MGF has to have good properties even when the key is known.
Tag: section blanking
Changed XOF to XOR
Line 1:
{{Use American English|date = April 2019}}
{{Short description|cryptographic tool}}
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 XOFXOR function: it can accept 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 ==