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

Org.BouncyCastle.Crypto.Generators.Ed25519KeyPairGenerator

Key-pair generator for Ed25519 (RFC 8032). Only the SecureRandom from the supplied KeyGenerationParameters is used; the 32-byte seed is drawn directly from it.

Generate a fresh Ed25519 key pair.

public virtual void Init(KeyGenerationParameters parameters)

Capture the SecureRandom that will source the seed.