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:
Daira Hopwood 2018-07-13 10:21:50 +01:00
parent 5cdc69196a
commit eb60b41f20
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ and decoding the 32-byte result according to the inverse of EncodeASK.
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*).
- Split *I* into two 32-byte sequences, I\ :sub:`L` and I\ :sub:`R`\ .