Digital envelope understanding

Source: Internet
Author: User

Server: holds the public key and key

Client: Hold the DLL and Public Key provided by the server, the string to be encrypted (A), and the client's own encrypted string (1234)

Client process:
1. The client encrypts a + 1234 through symmetric encryption to obtain 1A
2. The client encrypts the 1234 + Public Key into [DLL] to obtain 1B.
3. Upload the client to the server using 1A + 1B.

Server process:
1. The server uses the 1B + private key to get 1234
2. Log Service decrypts A through symmetric decryption through 1A + 1234
3. The server obtains [data] + 1234 and returns the data to the client through [symmetric encryption] = encrypted

 

Digital envelope understanding

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.