mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-28 22:07:16 +02:00
[cleanup] Deprecate more compat functions (#11439)
Authored by: seproDev
This commit is contained in:
parent
1d253b0a27
commit
f95a92b3d0
38 changed files with 218 additions and 363 deletions
|
@ -11,13 +11,12 @@ import codecs
|
|||
import subprocess
|
||||
|
||||
from yt_dlp.aes import aes_encrypt, key_expansion
|
||||
from yt_dlp.utils import intlist_to_bytes
|
||||
|
||||
secret_msg = b'Secret message goes here'
|
||||
|
||||
|
||||
def hex_str(int_list):
|
||||
return codecs.encode(intlist_to_bytes(int_list), 'hex')
|
||||
return codecs.encode(bytes(int_list), 'hex')
|
||||
|
||||
|
||||
def openssl_encode(algo, key, iv):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue