Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
openssl を使用してビデオ ファイルを復号化しようとしています。ただし、16 バイトの aes キーには、改行 (LF) 文字が含まれています。
x yÏï:YÛI?þbl
LF のため、キーを端末にコピーすると、キー全体ではなく「x」のみが送信されます。
端末でこのキーを入力するにはどうすればよいですか?
openssl aes-128-cbc -d -in input.ts -out output.ts -pass [aes_key]
パラメータ -K を試してください
openssl ヘルプから:
-K/-iv key/iv in hex is the next argument
したがって、このようなものが機能するはずです
openssl aes-128-cbc -d -in input.ts -out output.ts -K 00EF45....
ここで、00EF45.... は 16 進形式の aes キーになります。