diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2017-02-28 19:16:55 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2017-02-28 22:10:31 +0800 |
commit | 0a5445ddbeb8d391bbac92e5fe9074c6aa2e1565 (patch) | |
tree | 61313a7ee99210ff44e2e9627a71ac91d7f2cf4c /youtube_dl/extractor/daisuki.py | |
parent | f48409c7ac186fa38bbeb2df2b210e37a18eb04b (diff) | |
download | youtube-dl-0a5445ddbeb8d391bbac92e5fe9074c6aa2e1565.tar.xz |
[utils] Add bytes_to_long() and long_to_bytes()
Used in daisuki.net (#4738)
Both are adapted from public domain PyCrypto:
https://github.com/dlitz/pycrypto/blob/master/lib/Crypto/Util/number.py
Diffstat (limited to 'youtube_dl/extractor/daisuki.py')
0 files changed, 0 insertions, 0 deletions