如何找到openssl中生成的-hex 16的-K值?

如何找到openssl中生成的-hex 16的-K值?,openssl,hex,key,Openssl,Hex,Key,我是一个使用openssl命令的新手,我真的在谷歌上搜索了一段时间如何在生成rand-hex 16之后找到“-K” 我所做的就是: openssl rand 16 > enc.key openssl rand -hex 16 - output: -IV 8cbfd03269d9b7c4dcbd38a797f475ab 现在要解密任何文件,我需要-K值,但我不知道如何找到它 openssl aes-128-cbc -d -in fileSequence0.ts -out fileSequ

我是一个使用openssl命令的新手,我真的在谷歌上搜索了一段时间如何在生成rand-hex 16之后找到“-K”

我所做的就是:

openssl rand 16 > enc.key
openssl rand -hex 16
 - output: -IV 8cbfd03269d9b7c4dcbd38a797f475ab
现在要解密任何文件,我需要-K值,但我不知道如何找到它

openssl aes-128-cbc -d -in fileSequence0.ts -out fileSequence_decryptd_0.ts -nosalt -iv 8cbfd03269d9b7c4dcbd38a797f475ab -K ???????
我认为这很容易,因为以前没有人提到过,但我不知道如何找到它。 谢谢你的帮助