mirror of https://github.com/zcash/zips.git
Seeds for Sprout master keys must also be at least 32 bytes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
5cdc69196a
commit
eb60b41f20
|
@ -265,7 +265,7 @@ and decoding the 32-byte result according to the inverse of EncodeASK.
|
||||||
Master key generation
|
Master key generation
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Let *S* be a seed byte sequence of a chosen length.
|
Let *S* be a seed byte sequence of a chosen length, which MUST be at least 32 bytes.
|
||||||
|
|
||||||
- Calculate *I* = BLAKE2b-512("ZcashIP32_Sprout", *S*).
|
- Calculate *I* = BLAKE2b-512("ZcashIP32_Sprout", *S*).
|
||||||
- Split *I* into two 32-byte sequences, I\ :sub:`L` and I\ :sub:`R`\ .
|
- Split *I* into two 32-byte sequences, I\ :sub:`L` and I\ :sub:`R`\ .
|
||||||
|
|
Loading…
Reference in New Issue