PAG官网 | PAG动效

PAG官网 | PAG动效

  • 首页
  • 产品
  • 功能
  • 文档
  • 案例
  • CN
  • GitHub
  • 论坛交流
  • 免费下载
  • Languages iconEN
    • CN

›预览工具

了解 PAG

  • Introduction
  • FAQs

快速开始

  • Install PAGViewer
  • Install PAGExporter
  • Export PAG Files
  • SDK Integration

导出插件

  • Use Configuration Panel
  • Use Exporting Panel
  • Export BMP Compositions
  • Config Fill Modes
  • Config Time Stretch Modes
  • Exporting Shortcut Keys
  • Error Code
  • Auto Detection Rules
  • Text Editing Rules
  • Add Text Background
  • Export Audio
  • Manually Install PAGExporter

预览工具

  • Preview Replacements
  • View File Structure
  • Preview Shortcut Keys
  • Export Image Sequence
  • File Encryption
  • Add Watermark
  • Upgrade to Beta Version

性能优化

  • Use Performance Panel
  • PAG File Optimization

移动端进阶

  • Common API Overview
  • Use PAGImageView
  • Video Replacement
  • Play Audio
  • Text Layer Description
  • Use Encripted File
  • Export To Video
  • SDK Authentication

Web 进阶

  • SDK Installation
  • Load PAG File
  • Play PAG File
  • Platform Capabilities
  • Use WebWorker

API 参考

  • API Document

视频教程

  • PAG Workflow
  • File Optimization Best Practices
  • Use PAGExporter Panel
  • PAG Online Q&A

资源下载

  • PAGViewer Installer
  • PAG Test Files
  • PAG Demo Projects
  • China LiveVideoStackCon2022
  • PAG Conversion Tool
  • PAG File Format Spec

TAVMedia

  • Introduction to TAVMedia
  • TAVMedia Quick access
  • Common API Overview

其他

  • From Lottie To PAG
  • PAG Dictionary

File Encryption


Usage Scenarios

Material encryption is a feature of PAG Enterprise Edition, which restricts the use of animation materials to only our company or authorized products. This means that third parties cannot load and render encrypted materials, which helps protect the rights and interests of the original authors.

Encryption Method

There are two methods of material encryption:

Encrypt by Password

It is a method of encrypting materials with passwords, which is used for early communication between designers and business parties. Only the desktop preview tool PAGViewer supports decryption of this material. Currently, the Enterprise Edition SDK does not provide any related interfaces.

Encrypt by Certificate

It is a kind of encryption method that uses certificates to decode materials for formal delivery scenarios. Once the business party confirms its effectiveness, the designer will use certificate encryption to deliver the materials to them.

The encrypted PAG file cannot be directly opened by a third party, and can only be decrypted and opened by entering the corresponding password or importing a decryption certificate.

imgimg
Password Encryption DisplayCertificate Encryption Display


Basic Concepts

Encrypted Certificate

A certificate used to encrypt PAG files, including information such as encryption keys. Only those with encryption certificates can perform certificate encryption processing on PAG files.

Decrypted Certificate

A certificate used to decrypt encrypted PAG files, including information such as decryption keys. Only those with corresponding decryption certificates can decrypt the encrypted PAG file.

Encrypt by Password

  1. Click on the menu bar - File Encryption
    img
  2. In the [File Encryption] pop-up window, select [Encrypt by Password]
  3. Enter password in [Export Settings] and confirm, select an appropriate export path, and click the [Export] button in the upper right corner to export the encrypted PAG file.
    img
    4)4) Batch encryption: If there are multiple PAG files that need password encryption, you can click the [Add] button to import the files to be encrypted in batches, and then export them.
    img

Decrypted by Password

After opening the password-encrypted file, a [Enter Password] pop-up window will appear. Enter the correct password to view the material.
Check [Remember password]. The encrypted material with the same password can be opened directly without re-entering the password.
img
If you want to clear the remembered passwords, open the [Certificate Management] pop-up window and click the [Clear All Passwords] button.
img

Encrypt by Certificate

Create Encrypted Certificate

1. Create Encrypted Certificate

  1. Click the menu bar - Certificate Management

img

  1. Open the [Certificate Management] pop-up window and click the [Create Encrypted Certificate] button

  2. In the [Create Encrypted Certificate] pop-up window, enter the [Certificate Name] and [Certificate Information] to create an encryption certificate, which can be used when the PAG file is encrypted.
    img

2. Export Encrypted Certificate

  1. Find the encrypted certificate you want to export in the [Certificate Management] pop-up window,
  2. Click the [Export Encrypted Certificate] button in the operation bar, enter the [Password] and confirm, click [Export], and select a suitable storage path.
    img

Use Encrypted Certificate

  1. In the [Certificate Management] pop-up window, click the [Import Encrypted Certificate] button, select the encrypted certificate you want to import and enter the corresponding password.
    img

  2. Click on the menu bar - File Encryption
  3. In the [File Encryption] pop-up window, select [Encrypt by Certificate]
  4. Select an existing encrypted certificate in [Export Settings] (If the selection box shows [No encrypted certificate currently], click the [Add Certificate] button to jump to the [Certificate Management] pop-up window to generate it), enter the product ID, select a suitable export path, and click the [Export] button in the upper right corner to export the PAG file encrypted by the certificate
    img
    5)5) Batch encryption: If there are multiple files that need to be encrypted with a certificate, you can click the [Add] button to import them in batches, and then export them.

Create Decrypted Certificate

  1. Click the menu bar - Certificate Management to open the [Certificate Management] pop-up window
  2. Find the encrypted certificate for which a corresponding decrypted certificate must be created and click the [Create Decrypted Certificate] button
  3. In the [Create Decrypted Certificate] pop-up window, enter the corresponding product ID and the expiration date, click [Create], and select a suitable storage path.
    img

Decrypted by Certificate

Import Decrypted Certificate

After opening the certificate encryption file, a [Prompt] pop-up window will appear, click the [Import] button to import the corresponding decrypted certificate, and then reopen the file to view it.
You can open an encrypted file without repeatedly importing the decrypted certificate if you use the same encryption certificate and bond it to the same product ID.
img

Import Decrypted Certificate in Certificate Management

Click the [Import Decrypted Certificate] button in the [Certificate Management] pop-up window and select the decrypted certificate to import
Or directly drag the decrypted certificate to be imported into the [Decrypted Certificate] list
img

← Export Image SequenceAdd Watermark →
  • Usage Scenarios
  • Encryption Method
    • Encrypt by Password
    • Encrypt by Certificate
    • Basic Concepts
  • Encrypt by Password
  • Decrypted by Password
  • Encrypt by Certificate
    • Create Encrypted Certificate
    • Use Encrypted Certificate
    • Create Decrypted Certificate
  • Decrypted by Certificate
    • Import Decrypted Certificate
    • Import Decrypted Certificate in Certificate Management
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Privacy Policy
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
隐私政策
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Privacy Policy
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
隐私政策