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

Bitcoin Is An Unreplicable Lifeline In Authoritarian Regimes

June 6, 2025

South Africa central bank insists on the ‘old -fashioned’ exchange control law, which is still valid for encryption regulations.

June 5, 2025

Price prediction of BTC, ETH, XRP, BNB, SOL, DOGE, ADA, Sui, Hype, Link

June 4, 2025
Add A Comment

Comments are closed.

Recent Posts

As the ETF rises, Bitcoin Eye Major Rally -but this can ruin the party.

June 6, 2025

Secure the Treasury in the BNB chain and launch VANECK

June 6, 2025

Use Sunny Mining Cloud Mining to earn $ 12,000 a day

June 6, 2025

Investors are the main level of support of the eyes.

June 6, 2025

Encryption Inheritance Update: April 2, 2025

June 6, 2025

Defi, not MICA II at the front line

June 6, 2025

Improve video content with VEO 3: Comprehensive guide to effective prompt

June 6, 2025

Is the trump Fuel Fuel Dogecoin in ELON Musk less than $ 0.10?

June 6, 2025

The HBAR price aims for $ 0.40 when a big decision of the SEC comes.

June 6, 2025

Why is the ecosystem of the SEI network boom in the second quarter?

June 6, 2025

Why is the ecosystem of the SEI network boom in the second quarter?

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

As the ETF rises, Bitcoin Eye Major Rally -but this can ruin the party.

June 6, 2025

Secure the Treasury in the BNB chain and launch VANECK

June 6, 2025

Use Sunny Mining Cloud Mining to earn $ 12,000 a day

June 6, 2025
Most Popular

Trader Says Ethereum-Based Altcoins Could Surge Over 150%, Updates Outlook on Bitcoin, Solana, and Toncoin

September 6, 2024

Start the Extraordinary: AfterLife’s ICO Unveils Exclusive Limited Edition Bundle

February 17, 2024

Jito claims largest Solana protocol with $1.4 billion TVL

May 3, 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.