Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • CASINO
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • CASINO
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

Is it really possible to sell Memecoins?

July 29, 2025

Big Bob Slot -Self -There fish, bite wins!

July 23, 2025

The strategy has hit the highest market cap since the Rally Bitcoin rally.

July 17, 2025
Add A Comment

Comments are closed.

Recent Posts

SOLANA DEX Volume Co -founder Slam Mim Coin 20% deep

August 2, 2025

DLMining Releases 2025 ETH Contract Innovation Plan, Ushering In A New Era Of Inclusive Mining

August 2, 2025

XRP Rebounds On ETF Hopes As CryptoMining Firm Launches $8,100/Day Cloud Contracts

August 2, 2025

Since April, Telegram Growth and Stacking have driven Funtoken’s price soaring

August 2, 2025

Best visa stable coin encryption card

August 1, 2025

Hamieverse Taps Abstract To Power Its Debut Blockchain Game And Purpose-Driven Ecosystem

August 1, 2025

Pepe Dollar ($PEPD) Presale Picks Up Pace As Ethereum (ETH) Hovers Over $3,600

August 1, 2025

Meme Coin ‘$SATOSHI’ Heralding The Return Of Satoshi Nakamoto’s Vision Launches First Presale

August 1, 2025

Bitcoin falls to $ 115K with the third main wave of profit, a new tariff tension.

August 1, 2025

VFAT Farm Strategy Audit Summary

July 31, 2025

ETH Meme Coin Pepeto Ends Stage 6 With $5.770.000 Raised In Presale

July 31, 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

SOLANA DEX Volume Co -founder Slam Mim Coin 20% deep

August 2, 2025

DLMining Releases 2025 ETH Contract Innovation Plan, Ushering In A New Era Of Inclusive Mining

August 2, 2025

XRP Rebounds On ETF Hopes As CryptoMining Firm Launches $8,100/Day Cloud Contracts

August 2, 2025
Most Popular

Analyst warns one cryptocurrency asset category faces judgment and maps path for Bitcoin and Hedera

April 26, 2024

Ethereum, Solana, and Cardano plunge in unprecedented cryptocurrency market reorganization: IBET’s rapid rise attracts attention!

March 21, 2024

Solana ETF is not launched yet, but SOL is still outperforming the market. Here’s why!

September 4, 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.