In EdDSA with Ed25519 the algorithm of public key computing is following:
h = hash (privateKey)
h[0] &= 0xF8
h[31] &= 0x7F
h[31] |= 0x40
publicKey = h * B
The questions are
- Why is Hashing in Ed25519 key generation needed?
- Why are the actions on h bits are needed?
- What does the clearing relate to the 31st bit?