Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added full magnet link support, and validation #48

Closed

Conversation

brian6932
Copy link
Contributor

@brian6932 brian6932 commented Oct 15, 2023

  • BitTorrent v1 (BTIH SHA1) (base 16, base 32)
  • BitTorrent v2 (BTMH SHA256) (base 16)
  • TTH (Tiger Tree Hash) (base 32)
  • BitPrint (SHA1.TTH) (base 32)
  • ED2K (eDonkey2000) (MD4) (base 16)
  • AICH (Advanced Intelligent Corruption Handler) (base 32)
  • Kazaa (base 16)
  • MD5 (base 16)
  • SHA1 (base 16, base 32)

@vercel
Copy link

vercel bot commented Oct 15, 2023

@brian6932 is attempting to deploy a commit to the MagLit Team on Vercel.

A member of the Team first needs to authorize it.

@brian6932 brian6932 force-pushed the feat/magnet-link-validation branch from 711b2ab to 9b744e7 Compare October 15, 2023 07:11
- BitTorrent v1 (BTIH SHA1) (base 16, base 32)
- BitTorrent v2 (BTMH SHA256) (base 16)
- TTH (Tiger Tree Hash) (base 32)
- BitPrint (SHA1.TTH) (base 32)
- ED2K (eDonkey2000) (MD4) (base 16)
- AICH (Advanced Intelligent Corruption Handler) (base 32)
- Kazaa (base 16)
- MD5 (base 16)
- SHA1 (base 16, base 32)
@brian6932 brian6932 force-pushed the feat/magnet-link-validation branch from 9b744e7 to f1f4e94 Compare October 15, 2023 07:23
@NayamAmarshe
Copy link
Owner

Hi, thanks a lot for the PR, but what's the use of MD5 and SHA1?

@brian6932
Copy link
Contributor Author

brian6932 commented Oct 15, 2023

They're just apart of the magnet link spec https://en.wikipedia.org/wiki/Magnet_URI_scheme
MD5 apparently used by Gnutella2, and SHA1 by quite a few clients

@NayamAmarshe
Copy link
Owner

I have added support for all protocols and ports now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants