Bitcoin Forum
May 12, 2024, 09:25:46 AM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Help with hashes
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: Help with hashes (Read 710 times)
allthatremains
(OP)
Newbie
Offline
Activity: 7
Merit: 0
Help with hashes
October 29, 2013, 06:21:47 PM
#1
Hi,
I used znort987's github blockchain parsing repo to get the following output on blocks:
3 \0\0\0\0‚µU‰£ýòÔºÿ@>oà5¥Ùt,®b•FDI 1231470173
4 \0\0\0\0NºÛUî–É¢øˆ\ ÚYÀÖ‹"¨ŽH„J… 1231470988
5 \0\0\0\0›rb1]¿‡6V\ {‰*¿ý•¡ "ø–õ3ü 1231471428
6 \0\0\0\001 ç75iZò¤¾‚U;*·vûÓ¢Üw 1231471789
7 \0\0\0\0q–l+_ÔF±ä…²ÉÙYJÍ Ì½TAÏÈ”D 1231472369
The middle column is a block's hash. How can I change this hash into alphanumeric characters? E.g. "hash":"0000000000000001bfd57dad6bad2a345a47d6f3b4eb91925a6084016c1c19bc",
Thanks!
1715505946
Hero Member
Offline
Posts: 1715505946
Ignore
1715505946
1715505946
#2
1715505946
Report to moderator
1715505946
Hero Member
Offline
Posts: 1715505946
Ignore
1715505946
1715505946
#2
1715505946
Report to moderator
1715505946
Hero Member
Offline
Posts: 1715505946
Ignore
1715505946
1715505946
#2
1715505946
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715505946
Hero Member
Offline
Posts: 1715505946
Ignore
1715505946
1715505946
#2
1715505946
Report to moderator
1715505946
Hero Member
Offline
Posts: 1715505946
Ignore
1715505946
1715505946
#2
1715505946
Report to moderator
Rannasha
Hero Member
Offline
Activity: 728
Merit: 500
Re: Help with hashes
October 29, 2013, 08:05:38 PM
#2
Convert each byte to a hexadecimal representation. For each byte
b
of the hash, compute
b
/ 16 and
b
% 16 as the two hexadecimal digits that represent that byte.
allthatremains
(OP)
Newbie
Offline
Activity: 7
Merit: 0
Re: Help with hashes
October 29, 2013, 09:24:29 PM
#3
That sounds correct in principle, but how can I apply those operations to the string:
\0\0\0\0‚µU‰£ýòÔºÿ@>oà5¥Ùt,®b•FDI
?
Thanks!
DannyHamilton
Legendary
Offline
Activity: 3388
Merit: 4653
Re: Help with hashes
October 29, 2013, 09:28:15 PM
#4
Quote from: allthatremains on October 29, 2013, 06:21:47 PM
znort987's github blockchain parsing repo
Link please?
allthatremains
(OP)
Newbie
Offline
Activity: 7
Merit: 0
Re: Help with hashes
October 29, 2013, 09:30:47 PM
#5
https://github.com/znort987/blockparser
allthatremains
(OP)
Newbie
Offline
Activity: 7
Merit: 0
Re: Help with hashes
October 30, 2013, 04:31:06 PM
#6
Does anyone have a method for transforming these type of characters into alphanumeric strings?
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Re: Help with hashes
October 30, 2013, 06:39:52 PM
#7
Quote from: allthatremains on October 30, 2013, 04:31:06 PM
Does anyone have a method for transforming these type of characters into alphanumeric strings?
Yeah, true. You would need to get the actual bytes instead or use a modified blockparser that outputs the hash instead of those characters.
BTC:
1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Help with hashes
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...