b.Because 1 ki = ǩi where ǩi is the complement of ki , theciphertext stream is the complement of the key stream. Ifthe key stream is random, the ciphertext is also random.Again the patterns in the plaintext are not preserved in theciphertext.b.Because 1 ki = ǩi where ǩi is the complement of ki , theciphertext stream is the complement of the key stream. Ifthe key stream is random, the ciphertext is also random.Again the patterns in the plaintext are not preserved in theciphertext.
c.In this case, each bit in the ciphertext stream is either thesame as the corresponding bit in the key stream or thecomplement of it. Therefore, the result is also a randomstring if the key stream is random.c.In this case, each bit in the ciphertext stream is either thesame as the corresponding bit in the key stream or thecomplement of it. Therefore, the result is also a randomstring if the key stream is random.
d.In this case, the ciphertext is definitely random because theexclusive-or of two random bits results in a random bit.d.In this case, the ciphertext is definitely random because theexclusive-or of two random bits results in a random bit.