Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
About aes decrypt #12461
About aes decrypt #12461
Comments
|
From aes.py:
youtube-dl's |
In this case, can you show me what is iv ?
Thanks |
|
Gibberish's function uses a custom IV value: https://github.com/ivantcholakov/gibberish-aes-php/blob/master/GibberishAES.php#L164 By the way, |
Hi.
I'm trying to convert an PHP video crawler script to youtube-dl (python). Link was encrypted by AES, I'm using this library in PHP to decrypt https://github.com/ivantcholakov/gibberish-aes-php .
It's very simple to use :
Result
But when I use aes_decrypt_text in youtube-dl with the same params, it show error
File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xad in position 1: invalid start bytePlease help me.