Scenarios
Tencent Cloud KMS provides APIs, SDKs, and online tools for encrypting and decrypting small data. You can choose the appropriate method based on your needs and different scenarios.
Online Tools
The online tools are suitable for one-off or non-batch encryption and decryption operations, such as generating a key ciphertext for the first time. Developers do not need to build additional tools for non-batch encryption and decryption tasks, allowing them to focus on implementing core business capabilities. The usage steps are as follows.
Prerequisites
Ensure that you have created the key in advance and that the key is enabled. Operation Steps
1. Log in to the KMS (Compliant) console. In the left sidebar, click Key Management > Root Key. 2. On the Root Key Management page, locate the key you need to encrypt or decrypt, and click Details in the operation column.
3. On the key details page, click Online Tool.
Encryption Operations
1. In the Online Tools module, click Encryption.
2. Enter the data to be processed in the input box and click Convert. The processed data will be displayed in the gray box on the right.
3. After the data is encrypted, you can click Download to download the data to your local computer. At this point, the encryption operation is complete.
Decryption Operations
1. In the Online Tools module, click Decryption.
2. Paste the previously encrypted data into the input box and click Convert. The decrypted data will be displayed in the gray box on the right.
3. After the data is decrypted, you can click Download to download the data to your local computer. At this point, the decryption operation is complete.
Attention:
The decryption operation automatically invokes the master key used by the ciphertext to perform decryption. The decrypted plaintext is displayed in Base64.