fix?
This commit is contained in:
parent
59ea3da355
commit
4ede62a667
@ -24,7 +24,7 @@ func naclSeedToKeyPair(seed []byte) (pk, sk []byte) {
|
|||||||
h := sha512.Sum512(seed)
|
h := sha512.Sum512(seed)
|
||||||
sk = h[:]
|
sk = h[:]
|
||||||
sk[0] &= 248
|
sk[0] &= 248
|
||||||
sk[31] &= 63
|
sk[31] &= 127
|
||||||
sk[31] |= 64
|
sk[31] |= 64
|
||||||
|
|
||||||
// scalarmult magick shit
|
// scalarmult magick shit
|
||||||
|
Reference in New Issue
Block a user