Content deleted Content added
No edit summary Tags: Visual edit Mobile edit Mobile web edit |
Rework the intro. IVs _are not_ fixed size. For example, GCM mode can use an IV from 8 to 2^64-1 bytes in multiples of 8. Also remove the part about randomization for universal hash functions. This article is about IVs, not universal hash function. |
||
Line 1:
In [[cryptography]], an '''initialization vector''' ('''IV''') or '''starting variable''' ('''SV''')<ref>ISO/IEC 10116:2006 ''Information technology — Security techniques — Modes of operation for an ''n''-bit block cipher''</ref> is
Some cryptographic primitives require the IV only to be non-repeating, and the required randomness is derived internally. In this case, the IV is commonly called a [[cryptographic nonce|nonce]] (''number used once''), and the primitives are described as ''stateful'' as opposed to ''randomized''. This is because the IV need not be explicitly forwarded to a recipient but may be derived from a common state updated at both sender and receiver side. (In practice, a short nonce is still transmitted along with the message to consider message loss.) An example of stateful encryption schemes is the [[counter mode]] of operation, which uses a [[sequence number]] as a nonce.
|