Merge pull request #2581 from solid-pay/patch-1

Add a links to KDF and BIP39
This commit is contained in:
Olaoluwa Osuntokun 2019-02-06 16:53:41 -08:00 committed by GitHub
commit d541ebe376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,12 +4,12 @@
seed scheme (based on [aez](http://web.cs.ucdavis.edu/~rogaway/aez/)). seed scheme (based on [aez](http://web.cs.ucdavis.edu/~rogaway/aez/)).
This new scheme aims to address This new scheme aims to address
two major features lacking in BIP39: versioning, and a two major features lacking in [BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki): versioning, and a
wallet birthday. The lack a version means that wallets may not wallet birthday. The lack a version means that wallets may not
necessarily know how to re-derive addresses during the recovery necessarily know how to re-derive addresses during the recovery
process. A lack of a birthday means that wallets dont know how far process. A lack of a birthday means that wallets dont know how far
back to look in the chain to ensure that they derive all the proper back to look in the chain to ensure that they derive all the proper
user addresses. Additionally, BIP39 use a very weak KDF. We use user addresses. Additionally, BIP39 use a very weak [KDF](https://en.wikipedia.org/wiki/Key_derivation_function). We use
scrypt with modern parameters (n=32768, r=8, p=1). A set of benchmarks has scrypt with modern parameters (n=32768, r=8, p=1). A set of benchmarks has
been added, on my laptop I get about 100ms per attempt): been added, on my laptop I get about 100ms per attempt):