[英]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:我正在寻找一个php脚本,该脚本可以从带有 torrent 的字典中读取并将 hash 信息提取为纯文本,如下所示:
cf3563daa4941b1f10b5cbed4219d344d8a34b65
cf3563daa4941b1f10b5cbed4219d344d8a34b65
i have tried fopen and bencode, encode sha1 but i cant make it work.我已经尝试过 fopen 和 bencode,对 sha1 进行编码,但我无法让它工作。
Please help.请帮忙。
Google is your friend - DZone Snippets - "bittorrent file parser in php" (via Wayback Machine) Google 是你的朋友 - DZone Snippets - “php 中的 bittorrent 文件解析器”(通过 Wayback Machine)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.