<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Crypto.Parameters.Ed448PrivateKeyParameters

Ed448 private key (RFC 8032). Holds the 57-byte secret seed; the corresponding public key is derived lazily on first use and cached.
public static readonly int KeySize

Length in bytes of an Ed448 private-key seed (57).

public static readonly int SignatureSize

Length in bytes of an Ed448 signature (114).

Generate a fresh random Ed448 private key using random.

public Ed448PrivateKeyParameters(byte[] buf)

Construct from a 57-byte seed buffer.

public Ed448PrivateKeyParameters(byte[] buf, int off)

Construct from buf at off; reads KeySize bytes.

Read the 57-byte seed from input.

public void Encode(byte[] buf, int off)

Write the 57-byte seed into buf at off.

Derive (and cache) the public key corresponding to this private key.

public byte[] GetEncoded()

Return a fresh copy of the 57-byte seed.

public void Sign(Algorithm algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)

Compute an Ed448 signature. Both Ed448 and Ed448ph require a non-null context up to 255 bytes; Ed448ph additionally requires msgLen to equal PrehashSize.