Block ciphers encrypt fixed-length blocks of plaintext into ciphertext using symmetric keys. There are five modes of operation that allow block ciphers to encrypt messages longer than the block size: electronic codebook (ECB), cipher block chaining (CBC), cipher feedback (CFB), output feedback (OFB), and counter mode. These modes address issues like encrypting non-block-sized messages and adding randomness to prevent patterns in the ciphertext. ECB encrypts each block independently while the others use chaining or a counter to make each ciphertext block dependent on previous blocks. Initialization vectors are used to randomize encryption of identical plaintexts.