Formatting
This commit is contained in:
parent
64f3a8fd93
commit
c67f058b1e
@ -36,7 +36,7 @@ namespace Ed25519
|
|||||||
public ReadOnlySpan<byte> EncodePoint()
|
public ReadOnlySpan<byte> EncodePoint()
|
||||||
{
|
{
|
||||||
var nout = this.Y.EncodeInt();
|
var nout = this.Y.EncodeInt();
|
||||||
nout[^1] |= this.X.IsEven ? (byte)0 : (byte)0x80;
|
nout[^1] |= this.X.IsEven ? (byte)0x00 : (byte)0x80;
|
||||||
return nout;
|
return nout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user