I am reading some monero docs and it says that the mask and amount are generated like this;
mask = x + H(K); //where x is the blinding scalar
amount = b + H(H(K)); //where b is the amount
`K` is the per-output Diffie-Hellman derived shared secret defined as `K=Hs(8rA||i)`
`H` is a hash function that produces a scalar
Why is it necessary to hash K
twice when calculating the amount?