Tencent Cloud KMS provides APIs, SDKs, and online tools for you to encrypt and decrypt small pieces of data. You can choose any of them based on your needs for different scenarios.
The online tools are suitable for one-time or non-batch encryption and decryption operations, such as the initial generation of key ciphertext. With the online tools, you can focus on your core business without developing tools for non-batch encryption and decryption. They can be used in the following steps:
A key has been created and enabled.
- Log in to the KMS Console.
- Find the target key. In the "Key ID/Name" section, click the key name to enter the key details page.
- In the "Online Tools" module, click Encryption.
- Enter the data to be processed in the input box below.
- Click Convert, and the resulting data processed by the system will be displayed in the gray box on the right.
- After encryption is completed, you can click Download to download the encrypted data to your local file system.
- If you need to decrypt the data, click Decryption in the "Online Tools" module.
- Paste the encrypted data into the input box below, click Convert, and the decrypted data will be displayed in the gray box on the right.
The decryption operation automatically calls the CMK used in the encryption. After decryption, the plaintext will be Base64-encoded for display.
- You can click Download to download the decrypted data to your local file system.