Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»BITCOIN NEWS»Mnemonic Seed – Python “pbkdf2_hmac” function does not return the same as Ian Coleman BIP39 tool. Why?
BITCOIN NEWS

Mnemonic Seed – Python “pbkdf2_hmac” function does not return the same as Ian Coleman BIP39 tool. Why?

By Crypto FlexsJuly 18, 20241 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Mnemonic Seed – Python “pbkdf2_hmac” function does not return the same as Ian Coleman BIP39 tool. Why?
Share
Facebook Twitter LinkedIn Pinterest Email

I’m trying to go from Seed to xprv root key in BIP39 syntax. I have the following BIP39 syntax:

“The whale lettering thought art work is noisy, so the dog prefers to imitate the pink banana”

According to Ian Coleman’s tool, it returns a Seed.

“af0dc2290ec62618dd11686d3fb7201dc3a57dcc3129713272cd1fe75002d963db048cfda84da6cc1762c027b49b1a76e2d3e408f589c7acfca681e506a03aff”

And xprv

“xprv9s21ZrQH143K2Xszf61JSrkqT2cgXVbhKcu3YcfKmL5gYquAsMTFTwZ6NDqjMzPkCk4k9MkqwQKqyfxH7K3RCXdRZ7poUFZw3h5mEu9kCEW”

Let’s emulate this using the following code.

from hashlib import pbkdf2_hmac #import for going BIP39 words to key

    def BIP39_to_hash():
    
        mnemonictohash="prefer offer puppy imitate pink banana because whale letter thought artwork loud"
        a512string = pbkdf2_hmac('sha512',bytes(mnemonictohash,'ascii'), bytes.fromhex(''), 2048, dklen=512) #bytesfromhex is the salt (blank), 2048 is iterations
        print(binascii.hexlify(a512string)) #as Byte String converted to hex
    
    BIP39_to_hash

But this returns “b””.

What am I missing?

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Bittensor subnet token launches on Kraken

July 6, 2026

Could the UK become a stablecoin hub for cryptocurrencies?

June 30, 2026

bitcoin core – How does a block explorer efficiently index and query plain text strings in OP_RETURN?

June 24, 2026
Add A Comment

Comments are closed.

Recent Posts

AFX Surpasses $1.1 Billion In Total Trading Volume, Highlighting Capital Efficiency In On-Chain Derivatives

July 10, 2026

Beyond Issuance for Tokenized Equities?

July 10, 2026

TrueDAO Raises $10 Million In Strategic Funding To Accelerate AI-Powered Financial Infrastructure

July 10, 2026

MEXC Launches VVIP Futures Loss Coverage Program 2.0 With 1,000,000 USDT Prize Pool

July 10, 2026

CASHCAT Trader converted $316 into $2.1 million on Robinhood Chain.

July 9, 2026

ARB surges as Robinhood Chain fee sharing strengthens long-term outlook.

July 9, 2026

ORBS) Reports Total Holdings Of Approximately $397 Million, Includes OpenAI, Beast Industries, More Than 16,000 ETH And Over 283 Million WLD Tokens

July 9, 2026

Tria Brings VIP Trading To Self-Custody For The First Time, Ending The Rewards Vs. Asset Ownership Tradeoff

July 9, 2026

Bybit PWM BTC Funds Post 4.9% Growth In 60-Day Annualized Return As Bybit Expands BTC Yield Suite For Holders

July 9, 2026

Polymarket Probability Price The probability that the United States will invade Iran before 2027 is 16.5%.

July 9, 2026

Bitcoin ETF Revamp: Investment Opportunity

July 9, 2026

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

AFX Surpasses $1.1 Billion In Total Trading Volume, Highlighting Capital Efficiency In On-Chain Derivatives

July 10, 2026

Beyond Issuance for Tokenized Equities?

July 10, 2026

TrueDAO Raises $10 Million In Strategic Funding To Accelerate AI-Powered Financial Infrastructure

July 10, 2026
Most Popular

Hong Kong Monetary Authority Announces Yuan Treasury Bond Bidding Results

October 22, 2024

SEC agrees to postpone Terraform Labs trial pending extradition of Do Kwon

January 16, 2024

Craig Wright assets frozen to prevent avoidance of court costs related to Satoshi Nakamoto case

March 31, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2026 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.