Help Center> Data Encryption Workshop> User Guide (Kuala Lumpur Region)> FAQs> KMS Related> How Do I Use the Online Tool to Encrypt or Decrypt Small Volumes of Data?
Updated on 2024-03-27 GMT+08:00

How Do I Use the Online Tool to Encrypt or Decrypt Small Volumes of Data?

You can use the online tool to encrypt or decrypt data in the following procedures:

Encrypting Data

  1. Log in to the management console.
  1. Click the alias of a custom key to view its details, and go to the online tool for data encryption and decryption.
  2. Click Encrypt. In the text box on the left, enter the data to be encrypted.
  3. Click Execute. Ciphertext of the data is displayed in the text box on the right.

    • Use the current CMK to encrypt the data.
    • You can click Clear to clear the entered data.
    • You can click Copy to Clipboard to copy the ciphertext and save it in a local file.

Enter the plaintext on the console, the text will be encoded to Base64 format before encryption.

The decryption result returned via API will be in Base64 format. Perform Base64 decoding to obtain the plaintext entered on the console.

Decrypting Data

  1. Log in to the management console.
  1. You can click any non-default key in Enabled status to go to the encryption and decryption page of the online tool.
  2. Click Decrypt. In the text box on the left, enter the data to be decrypted.

    • The tool will identify the original encryption CMK and use it to decrypt the data.
    • If the key has been deleted, the decryption will fail.

  3. Click Execute. Plaintext of the data is displayed in the text box on the right.

    • You can click Copy to Clipboard to copy the plaintext and save it in a local file.
    • Enter the plaintext on the console, the text will be encoded to Base64 format before encryption.

      The decryption result returned via API will be in Base64 format. Perform Base64 decoding to obtain the plaintext entered on the console.