Updated on 2026-03-19 GMT+08:00

Basic Concepts

Table 1 Common encryption terms

Term

Definition

Symmetric key encryption

Symmetric key encryption is also called dedicated key encryption. The sender and receiver use the same key to encrypt and decrypt data.

Advantage: Encryption and decryption are fast.

Disadvantage: Each pair of keys must be unique, making key management difficult when there are a large number of users.

Scenario: Encrypt a large amount of data.

Encryption process: Assume there is a plaintext message "Hello", the sender uses a symmetric key (for example, key123) and a symmetric encryption algorithm (for example, AES) to encrypt "Hello" into ciphertext, for example, "# %&*". After receiving the ciphertext, the receiver uses the same key123 and AES algorithm to decrypt "#%&*" back to "Hello".

Hash-based Message Authentication Code

(HMAC)

HMAC combines information with keys and encrypts the result using a hash function to protect information integrity and verify information.

Table 2 KMS terms

Item

Definition

HSM

An HSM is a type of computer hardware that protects and manages the keys used by strong authentication systems and provides related cryptographic operations.

CMK

A CMK is a main encryption key created by a user or cloud service using KMS. It is used to encrypt and protect data encryption keys (DEKs). One CMK can be used to encrypt one or more DEKs.

CMKs are categorized into custom keys and default keys.

Default key

A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default.

Key material

Key materials are important inputs to cryptographic operations. They are used to encrypt and decrypt key data. A CMK consists of key materials, key IDs, and basic metadata.

Envelope encryption

Envelope encryption is the practice of encrypting data with a DEK and then encrypting the DEK with a root key that you can fully manage. In this case, CMKs are not required for encryption or decryption.

DEK

A DEK is used to encrypt data.

Table 3 SSH key pair terms

Term

Definition

SSH key pair

An SSH key pair is used for encrypting and verifying SSH network connections. Each SSH key pair consists of a private key and a public key.

  • A private key is an encrypted file which can only be accessed by the owner.
  • A public key is an unencrypted file which can be shared with anyone. If you are connecting to another user's computer, you can use the public key to encrypt messages and the private key to decrypt.

The private key can be accessed only by the owner and the public key can be shared with others. As a result, SSH key pairs are more secure than conventional password verification.

Private key pair

A private key pair can be viewed or used only by the current account.

Account key pair

An account key pair can be viewed or used by all users under the account.