Digital signature principle

xiaoxiao2021-03-06  14

Asymmetric encryption is the public key to tell everyone's password.

The private key is only known in the non-symmetric encryption.

The speed of asymmetric encryption is slow, especially when encrypting big data.

Digital signature is

Use Mr. into a password a (less data), then use your own private key to discriminate A,

After encryption, the encrypted data is asymmetrically encrypted with the other party's public key. Generate ciphertext B

Then, the large document is symmetrically encrypted with the password a. Generate ciphertext C

Send B and C to the other party.

After receiving B, C, the other party is decrypted.

The decryption process is just the opposite.

Decrypt B with your own private key, then decrypt the other party's public key to solve the password D,

Re-decrypt C with a password D. OK

This ensures that your own legitimacy, only you have your own private key,

When the other party, after encryption with the public key of the other party, only the other party used his private key to solve it.

转载请注明原文地址:https://www.9cbs.com/read-50079.html

New Post(0)