feat: add crypto

This commit is contained in:
banshan
2024-12-31 13:28:45 +08:00
parent ddcdf831ae
commit 5a4b88a5a8
17 changed files with 968 additions and 1 deletions

View File

@@ -62,6 +62,18 @@ snap:
snapiframeinterval: 3
snapquerytimedelta: 3 # 查询截图时允许的最大时间差(秒)
filter: "^live/.*"
onpub:
transform:
.* : $0
crypto:
enable: false
isstatic: false
algo: aes_ctr # 加密算法 支持 aes_ctr xor_c
encryptlen: 1024
secret:
key: your key
iv: your iv
onpub:
transform:
.* : $0