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

AI pivots won’t save you. Wintermute speaks to Bitcoin miners:

March 14, 2026

Startup StarCloud Plans First Bitcoin Mining Satellite in Low Earth Orbit

March 8, 2026

Are Investors Abandoning BTC?

March 2, 2026
Add A Comment

Comments are closed.

Recent Posts

Pi Network weathers cryptocurrency market crash as major mainnet upgrade fuels hype

March 19, 2026

Phemex Astral Trading League Launches $450,000 Pisces Season

March 19, 2026

Ethereum is gaining ground over Bitcoin amid the escalating US-Iran war.

March 19, 2026

Cango Inc. Reports Fourth Quarter And Full Year 2025 Unaudited Financial Results

March 19, 2026

Leonardo AI unveils comprehensive image editing suite with six model options

March 19, 2026

RWA increases by 8% in 30 days – is it more than just a ‘safe’ bet?

March 19, 2026

Bitmine Immersion Technologies (BMNR) Announces ETH Holdings Reach 4.596 Million Tokens, And Total Crypto And Total Cash Holdings Of $11.5 Billion

March 19, 2026

Bank of Korea begins phase 2 of digital won pilot project including real subsidies

March 19, 2026

Vault12 Guard 2.8 provides real-time portfolio balance for cryptocurrency inheritance

March 18, 2026

Aster Expands WLFI Collaboration, Launches USD1-Denominated Perpetual Markets

March 18, 2026

Playnance Launches GCoin MEXC Listing With 200,000 Holders And 2M Daily Transactions

March 18, 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

Pi Network weathers cryptocurrency market crash as major mainnet upgrade fuels hype

March 19, 2026

Phemex Astral Trading League Launches $450,000 Pisces Season

March 19, 2026

Ethereum is gaining ground over Bitcoin amid the escalating US-Iran war.

March 19, 2026
Most Popular

Circle denies the allegations of illegal financial activity.

November 30, 2023

Next Crypto Explosion, November 27 — Telcoin, Memefi, EigenLayer

November 27, 2024

10 Steps to Autonomy with Bitcoin

June 6, 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.