Help Center> Media Processing Center> FAQs> Transcoding> Does MPC Support Encrypting Media Files?

Does MPC Support Encrypting Media Files?

Yes. You can call the API for creating a transcoding task or creating an encryption task and set key and url in the request to encrypt media files.

"encryption": {
	"hls_encrypt": {
		"key": "aigPLJhffXBNnERs",
		"url": "https://vod.cn-north-4.myhuaweicloud.com/encrypt/getkey",
		"iv":"yCmE666N3YAq30SN",
                "algorithm":"AES-128-CTR"
             }	
},