1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-19 12:08:05 +00:00

PBKDF2 uses 2048 rounds

This commit is contained in:
slush0 2014-01-09 19:31:22 +01:00
parent 9f1b2d738d
commit 8d639fd794

View File

@ -84,7 +84,7 @@ an empty string "" is used instead.
To create binary seed from mnemonic, we use PBKDF2 function with mnemonic sentence To create binary seed from mnemonic, we use PBKDF2 function with mnemonic sentence
(in UTF-8) used as a password and string "mnemonic" + passphrase (again in UTF-8) (in UTF-8) used as a password and string "mnemonic" + passphrase (again in UTF-8)
used as a salt. Iteration count is set to 4096 and HMAC-SHA512 is used as a pseudo- used as a salt. Iteration count is set to 2048 and HMAC-SHA512 is used as a pseudo-
random function. Desired length of the derived key is 512 bits (= 64 bytes). random function. Desired length of the derived key is 512 bits (= 64 bytes).
This seed can be later used to generate deterministic wallets using BIP-0032 or This seed can be later used to generate deterministic wallets using BIP-0032 or