小编Or *_*ren的帖子

对Apple的HTTP直播流使用openssl加密 - 问题

这是我的shell脚本的代码,static.key包含我的随机密钥.

hexKey=$(cat static.key | hexdump -e '16/1 "%02x"')
echo $hexKey
hexIV="0"
echo $hexIV
openssl aes-128-cbc -e -in logo-1.ts -out logo-enc-1.ts -p -nosalt -K ${he-iv ${hexIV}
Run Code Online (Sandbox Code Playgroud)

运行时我遇到一些错误.

(output:
non-hex digit
invalid hex iv value
: command not found
)
Run Code Online (Sandbox Code Playgroud)

也许有人知道这个问题.我已经好几天了.

encryption streaming openssl aes

1
推荐指数
1
解决办法
5948
查看次数

标签 统计

aes ×1

encryption ×1

openssl ×1

streaming ×1