idk
This commit is contained in:
parent
c6a79b8893
commit
2152cd3246
@ -418,7 +418,7 @@ func seedToKeyPair(seed []byte) (pub ed25519.PublicKey, full ed25519.PrivateKey)
|
|||||||
h := sha512.Sum512(seed)
|
h := sha512.Sum512(seed)
|
||||||
seed = h[:]
|
seed = h[:]
|
||||||
seed[0] &= 248
|
seed[0] &= 248
|
||||||
seed[31] &= 63
|
seed[31] &= 127
|
||||||
seed[31] |= 64
|
seed[31] |= 64
|
||||||
var in [32]byte
|
var in [32]byte
|
||||||
var out [32]byte
|
var out [32]byte
|
||||||
|
Reference in New Issue
Block a user