简体   繁体   中英

Read hash from torrent file in php

I'm searching for an php script that can read from a dictionary with torrent and extract the hash info into plain text like this:

cf3563daa4941b1f10b5cbed4219d344d8a34b65

i have tried fopen and bencode, encode sha1 but i cant make it work.

Please help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM