The error of application of ISA encryption technology

Source: Internet
Author: User

Case:

To encrypt a piece of data, the strategy is to divide the numbers by randomly inserting characters (not numbers), such as user input: 12345

Use ISA encryption, add random characters, generate a character: *************

The background receives the passed characters, begins to decrypt, and removes the randomly inserted characters (not the numbers).

Get the right character;


Analytical:

On the face of it, there is no problem with this encryption process.

However, after the user has viewed the data in the cookie, it is actually possible to obtain the length of the encrypted string. And once someone knows this validation rule (except for characters), they can get the cookie directly from the user's computer and then use the cookie directly to enter the user's account, which makes the encryption not insured.


In fact, when the analysis of the time there is a problem, but I do not remember clearly. I hope you can get the answer in the discussion below.


The error of application of ISA encryption technology

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.