Formatting

This commit is contained in:
Thorsten Sommer 2020-01-03 20:51:40 +01:00
parent 64f3a8fd93
commit c67f058b1e

View File

@ -36,7 +36,7 @@ namespace Ed25519
public ReadOnlySpan<byte> EncodePoint()
{
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;
}