mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-12 07:15:12 +08:00
[aes] Add support for CFB mode
This commit is contained in:
@@ -30,6 +30,10 @@ r = openssl_encode('aes-128-cbc', key, iv)
|
||||
print('aes_cbc_decrypt')
|
||||
print(repr(r))
|
||||
|
||||
r = openssl_encode('aes-128-cfb', key, iv)
|
||||
print('aes_cfb_decrypt')
|
||||
print(repr(r))
|
||||
|
||||
password = key
|
||||
new_key = aes_encrypt(password, key_expansion(password))
|
||||
r = openssl_encode('aes-128-ctr', new_key, iv)
|
||||
|
||||
Reference in New Issue
Block a user