def encrypt_stream(mode, in_stream, out_stream, block_size=BLOCK_SIZE, padding=PADDING_DEFAULT):
 encrypter = Encrypter(mode, padding=padding)
 _feed_stream(encrypter, in_stream, out_stream, block_size)

def encrypt_stream ( mode , in_stream , out_stream , block_size = BLOCK_SIZE , padding = PADDING_DEFAULT ) : encrypter = Encrypter ( mode , padding = padding ) _feed_stream ( encrypter , in_stream , out_stream , block_size )
encrypts a stream of bytes from in_stream to out_stream using mode .