How to use rbxencryptedassetid

I would like to find a way to use rbxencryptedassetid to protect some of the assets in my projects

not only has this api’s lack of documentation interested me, but I also see it has a lot of practical use.

Looking here shows that the api is acknowledged
https://developer.roblox.com/en-us/api-reference/function/ContentProvider/RegisterEncryptedAsset
however it would seem that using these does nothing. For example, using it to encrypt an asset, and then running
print(#game:GetService("ContentProvider"):ListEncryptedAssets())
does absolutely nothing

any knowledge on how this system may work is appreciated!

5 Likes

I’m not sure if this method was made for developer use as there isn’t any documentation and I can’t find anything on it.

i also cant find anything on it, however i have been aware that its been used in some of roblox’s early video demos. For example, one of the video urls was rbxencryptedassetid://4912687558/0e16c00cac06368bf783d5210618e80b52ea2f3108bf87509b9bd3c3b72813c1.
The frist thing seems to be the asset id, but it returns nothing, and the second resembles an rbxcdn hash

2 Likes

To the future readers: [Limited Availability Beta] Asset Privacy and Permissions for Meshes, Images and Models
This is a feature that is still in private beta. The FFLags related to this feature are DFFlagEnableLuaApiToRegisterEncryptedAssets & DFFlagSupportEncryptedAssets. To view the whole list of experiences with these features enabled, there are FFlags DFFlagEnableLuaApiToRegisterEncryptedAssets_PlaceFilter & DFFlagSupportEncryptedAssets_PlaceFilter readable at https://clientsettings.roblox.com/v2/settings/application/PCDesktopClient