Is there any reversible algorithm with shorter ciphertext than plaintext? Solution

Source: Internet
Author: User
Is there any reversible algorithm with shorter ciphertext than plaintext? Is there any reversible algorithm with shorter ciphertext than plaintext? It is best no matter how long the plaintext is, password is no more than 32 bits ------ solution ------------------ for example, 1 + 2 + 1 + 2 + 410 root token 1 + 2 + 1 + 2 + 4 you can know that wait for 10, as for encryption and 10 decryption, you cannot know that it is calculated by 1 + 2 + 1 + 2 + 4, it may be 2 + 2 + 2 + 2 + 2. so we need to be aware in the ciphertext. Is there any reversible algorithm that is short in the ciphertext than in the plaintext?
Is there any reversible algorithm with shorter ciphertext than plaintext?
It is recommended that no matter how long the plaintext is, the password should not exceed 32 characters
------ Solution --------------------
For example
1 + 2 + 1 + 2 + 4 = 10
Root region 1 + 2 + 1 + 2 + 4. you can know that 10 is equivalent to encryption.
However, if you decrypt the last 10 digits, you cannot know that the result is calculated by the 1 + 2 + 1 + 2 + 4 operation, which may be 2 + 2 + 2 + 2 + 2

Therefore, we need to have a tag in the ciphertext.
In this case, the more plain text, the more standards, and the more ciphertext.

If it is irreversible, it is different. you do not need to obtain the original text. You do not need to recognize the original text.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.