1. A computer-implemented method, comprising: generating a keystream at a block cipher encryption module with inputs of a key and the result of an exclusive-or (XOR) operation on two or more previous keystream outputs; and producing ciphertext by combining the generated keystream with plaintext.