diff --git a/contrib/backends/srndv2/src/srnd/cryptography.go b/contrib/backends/srndv2/src/srnd/cryptography.go index 69c3299..d953f7d 100644 --- a/contrib/backends/srndv2/src/srnd/cryptography.go +++ b/contrib/backends/srndv2/src/srnd/cryptography.go @@ -24,7 +24,7 @@ func naclSeedToKeyPair(seed []byte) (pk, sk []byte) { h := sha512.Sum512(seed) sk = h[:] sk[0] &= 248 - sk[31] &= 63 + sk[31] &= 127 sk[31] |= 64 // scalarmult magick shit