Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8051339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:16:49+00:00 2026-06-05T07:16:49+00:00

I am scraping websites for information and it involves getting sha1 hashes of magnet

  • 0

I am scraping websites for information and it involves getting sha1 hashes of magnet links.

I get all the magnet links with a simple preg_match_all but in my results I am getting weird results, I understand that a magnet hash in its hexadecimal form is 40 characters long, but I am also getting results that return strings that are 32 characters long that contain other non hexadecimal values.

Two examples from my results, firstly a normal 40 hexadecimal hash within a magnet link,

array
    0 => string 'F5AD2D170C033736FD987106F04C3ABD6DF41D14' (length=40)

And the other weird results that I do not understand where the hash is a 32 non hexadecimal value,

array
    0 => string 'VPR33QQM3L6BFU5FGOZXMBNORAFFSZWW' (length=32)

Has the hash been packed in some way? I know it is not done with pack('H*', $hash) as that returns the binary of the hash? The magnet links do work as I have tested them.

More so you can see these hashes in use at this website

http://eztv.it

By hovering over the magnet links and looking a the magnet hash.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:16:50+00:00Added an answer on June 5, 2026 at 7:16 am

    Hashes in magnet links can be encoded using Base32. In your example,

    VPR33QQM3L6BFU5FGOZXMBNORAFFSZWW
    

    turns into

    ABE3BDC20CDAFC12D3A533B37605AE880A5966D6
    

    which is a valid SHA-1 hash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I implemented threading in my application for scraping websites. After all the sites are
Scraping pages using BeautifulSoup; trying to filter out links that end in ...html#comments Code
I have a web scraping script that gets new data once every minute, but
I'm deveoping web scraping scoftware that relies on XPath to extract information from web
I am writing java code where i need to get some information from a
I'm working on an app for LinkedIn. I want to access all the information
I am working on screen scraping and done successfully in 3 websites, I have
I am scraping some information from a 10 year old website that was built
I'm scraping a series of products from websites and storing them in a DB.
I´m all new to scraping and I´m trying to understand xpath using R. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.