Symmetric Cryptography 2 - CTR, OFB, CBC, etc ... Flashcards
if numbers are same result is “0”, if numbers are different result is “1”.
XOR
symmetric algorithm, feistel function, splits block on plaintext in 2 parts (L0/R0), round function is applied to one half and round function is performed on one half, output is then XOR’d w/other half, for 16 rounds.
DES (symmetric algorithm)
symmetric algorithm, different from DES because AES uses 4x4 matrix of bytes, called state, also called substitution permutation matrix.
AES (symmetric algorithm)
symmetric algorithm, has 4 modes -> ECB : 64-bit block entered into and block cipher text is produced, if last full padding is added, used for small amounts of data, creates patterns, considered weak.
DES (symmetric algorithm)
used for large amounts of data, uses 64 bit blocks of data, but inserts bits from previous cipher text block, uses XORing, IV.
CBC
emulates a stream cipher turns block cipher into stream cipher, bits to encrypt the next block come from ciphertext of proceeding block using XORed w/plaintext to produce current ciphertext block, encrypts individual characters, uses chaining as in CBC.
CFB
turns block cipher into stream cipher, XORed w/plaintext blocks to generate ciphertext, great for digital data and signal transmission, errors do not propagate, IV is used to create seed value for next encrypted block.
OFB
turns block cipher into stream cipher, generates next keystream block by encrypting successive values of a counter that do not repeat for long, IV increments in value for every packet in message instead of whole message.
CTR
symmetric algorithm, key whitening, XOR a key w/text before round function after or both, uses 48 rounds.
DESx (symmetric algorithm)