加密可以用来保护传输中的数据和存储器中的数据。一些厂家提供硬件加密设备,用来加密和解密数据。也可买到软件加密程序包或作为自由软件免费获得。
Encryption can be defined as the process of tasking information that exists in some readable form (plaintext) and converting it into a form (ciphertext) so that it cannot be understood by others.
加密可以定义为把现有的、以某种可读形式(明文)的信息转换成其他人不能理解的形式(密文)的过程。
In public key cryptosystem, the encryption and decryption keys were different, and plaintext encrypted with the public key can only be deciphered with the private key from the same pair. Conversely, plaintext encrypted with the private key can be decrypted only with the public key[4] ( it is used in electronic signatures). The notations for these are as follows.
C=E k (P) , P=D k1(C)=D k1 (E k (P)) or
C=D k1 (P), P=E k (C)=E k (D k1 (P))
在公钥秘钥系统中,加密和解密密钥是不同的。并且用公开密钥加密的明文只能用同一对密钥中的秘密密钥解密。相反,用私有密钥加密的明文只能用公开密钥解密(它用于电子签名)。这些关系的表示法如下:(见上式)
Here k is a public key and k1 is private key( or secret key). Users can make their public keys freely available or place them at a key distribution center for others to access. However, the private key must be kept safe. In public-key systems there is no need to find a safe channel for communicating a shared secret key.
这里K是公开密钥,K1是私有密钥(或秘密密钥)。用户可以让他们的公开密钥自由地使用,或把它们放在密钥分配中心供其他人存取。然而,私有密钥必须安全的保存。在公开密钥系统,无需找一条传送共享的私有密钥的安全通道。
文章来源于领测软件测试网 https://www.ltesting.net/