tencent cloud

Feedback

Encryption and Decryption

Last updated: 2024-01-11 16:28:54

    Scenarios

    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.

    Online tools

    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:

    Prerequisites

    You have created a key and enabled it.

    Directions

    1. Log in to the KMS Console.
    2. Find the target key. In the "Key ID/Name" section, click the key name to enter the key details page.
    3. In the "Online Tools" module, click Encryption.
    4. Enter the data to be processed in the input box below.
    5. Click Convert, and the resulting data processed by the system will be displayed in the gray box on the right.
    
    6. After encryption is completed, you can click Download to download the encrypted data to your local file system.
    7. If you need to decrypt the data, click Decryption in the "Online Tools" module.
    8. 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.
    
    Note:
    The decryption operation automatically calls the CMK used in the encryption. After decryption, the plaintext will be Base64-encoded for display.
    9. You can click Download to download the decrypted data to your local file system.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support