hash – What’s the implementation of PBKDF2 in bitcoin?

on

|

views

and

comments


I am looking to know how bitcoin works through writing my very own code in C++. Lately I am suffering to as it should be enforce PBKDF2 serve as. I have attempted such a lot of assets of data, like:

  1. PBKDF2 in Golang
  2. NIST web page 7
  3. Ian’s unbelievable device
  4. Some other device
  5. Superb information

and lots of others. A few of them as a supply of code, some for checking computational effects.

From 5. I take into account that SALT parameter of PBKDF2 needs to be “mnemonic” string. In line with 1. and a couple of. I’ve to concatenate SALT with an 4 byte illustration of an integer 1 (bitcoin does no longer require 2, 3, … ). Is it true? Do I’ve to concatenate SALT with “0001” as a most straightforward SALT enter or “mnemonic” is sufficient??? What’s the right kind padding of mnemonic sentence string? Is it required to stay areas between phrases or no longer? From what I already know HMAC-SHA512 message padding begins with SALT (128 bytes block) adopted through mnemonic sentence.
I imagine that I have attempted each and every aggregate of parameters and computation approaches (determined :)). And I additionally imagine that there’s some roughly trick. Up to now I have noticed methods nearly in each and every a part of being stated evident algorithms.

Please assist.

Share this
Tags

Must-read

Tesla Govt Says Repair For Vampire Drain In Sentry Mode Coming In Q2: ‘Energy Intake Wishes Development’ – Tesla (NASDAQ:TSLA)

Tesla Inc TSLA govt, Drew Baglino, on Thursday printed that the corporate is operating on liberating a device replace for decreasing energy intake...

Dividend Kings In Focal point: Phone & Information Techniques

Printed on February twenty second, 2024 through Bob Ciura The Dividend Kings consist of businesses that experience raised their dividends for a minimum of...

Tyler Perry Calls On Leisure Trade, Executive To Corral AI Prior to Everybody Is Out Of Trade

Tyler Perry has observed demonstrations of what AI can do. Whilst he's astonished, he’s additionally sounding an alarm. Perry is already balloting together...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here