Stream ciphers encrypt the bits of the message as a stream of bits one at a time , and block ciphers take a number of bits and encrypt them as a single unit . Stream ciphers encrypt the bits of the message one at a time , and block ciphers take a number of bits and encrypt them as a single unit .