Help Center/
Data Encryption Workshop/
User Guide (ME-Abu Dhabi Region)/
Management/
Encrypting and Decrypting Small Data Online
Updated on 2022-02-22 GMT+08:00
Encrypting and Decrypting Small Data Online
This section describes how to use an online tool to encrypt and decrypt data less than or equal to 4 KB on the KMS console.
- The online tool cannot encrypt or decrypt small data by using Default Master Keys.
- You can call APIs to use a Default Master Key to encrypt or decrypt small data. For details, see the Key Management Service API Reference.
Prerequisites
- You have obtained an account and its password for logging in to the management console.
- The desired CMK is in Enabled status.
Encrypting Data
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Choose . The Key Management Service page is displayed.
- Click the alias of the desired CMK to view its details on the online data encryption page.
- Click Encrypt. In the text box on the left, enter the data to be encrypted.
Figure 1 Encrypting data
- Click Execute. The data encryption result is displayed in the text box on the right.
- The key you clicked is used for encryption.
- To clear your input, click Clear.
- To copy the encrypted data, click Copy to Clipboard. You can then paste and save it to a local file.
Decrypting Data
- Log in to the management console.
- Choose . The Key Management Service page is displayed.
- Click the alias of an enabled key (excepting Default Master Keys) to open the online tool page.
- Click Decrypt. In the text box on the left, enter the data to be decrypted.
- The online tool automatically identifies the key used for data encryption, and uses it to decrypt data.
- If the key has been deleted, the decryption will fail.
- Click Execute. The data decryption result is displayed in plaintext in the text box on the right.
To copy the decrypted data, click Copy to Clipboard. You can then paste and save it to a local file.
Parent topic: Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot