A semantically secure encryption scheme can not preserve the length of an encrypted plaintext.
How to prove this? or are there some methods that can be used to obtain such information from a semantic secure ciphertext?
A semantically secure encryption scheme can not preserve the length of an encrypted plaintext.
How to prove this? or are there some methods that can be used to obtain such information from a semantic secure ciphertext?
Well, widely accepted definition of semantic security as LOR-distinguishing game prohibits queries with messages of different length.
Moreover, OPT is length-preserving. Obviously, OTP meets semantic security requirements. Hence, the statement in question is false.
You probably mean, that CPA-secure cipher cannot be length-preserving. This statement is proven in the following way: a length-preserving cipher is a deterministic cipher (otherwise its encryption function is not bijective for some key), a deterministic cipher is not CPA-secure. Hence, a length-preserving cipher is not CPA-secure.