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

ZBCN is tradable!

October 15, 2025

Mobile App Change Log 7.17.0

October 9, 2025

Free bitcoin.in app withdrawal request My satoshi

October 3, 2025
Add A Comment

Comments are closed.

Recent Posts

AI and Bitcoin mining stocks soar after OpenAI closes multibillion-dollar chip deal with AMD

October 17, 2025

MEXC Celebrates ZEROBASE (ZBT) Listing With Airdrop+ Event Featuring 55,000 USDT Prize Pool

October 16, 2025

How MasterQuant’s AI Trading Bot Is Becoming Every Investor’s Favorite Trade Machine

October 16, 2025

Seascape Launches First Tokenized BNB Treasury Strategy On Binance Smart Chain

October 16, 2025

ETH And BTC Holders Are Flocking To OAK Mining For Stable Profits Of $8,600 Daily

October 16, 2025

Will Solana price fall to $170 once it gets close to the important support level?

October 16, 2025

Crypto Market Rebound, L2 Surge and ZEC Shock: Daily Insights

October 16, 2025

ZBCN is tradable!

October 15, 2025

Analysts expect a breakout of $135 as ETF approval buzz grows.

October 15, 2025

Chinese woman pleads guilty ahead of trial in $7 billion British Bitcoin fraud case

October 15, 2025

XMoney Launches $XMN On Sui, Expands Listings Across Global Exchanges

October 15, 2025

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

AI and Bitcoin mining stocks soar after OpenAI closes multibillion-dollar chip deal with AMD

October 17, 2025

MEXC Celebrates ZEROBASE (ZBT) Listing With Airdrop+ Event Featuring 55,000 USDT Prize Pool

October 16, 2025

How MasterQuant’s AI Trading Bot Is Becoming Every Investor’s Favorite Trade Machine

October 16, 2025
Most Popular

The latest technology news in cryptocurrency and blockchain

February 1, 2024

Santiment says retail FOMO is set to hit Cardano and he is seeing Ethereum-based coins split from the altcoin pack.

November 11, 2024

Bitcoin price fell again. Is this a new bearish signal?

May 8, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

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