public static PrivateKey FromRandom() { LibP2P.Crypto.PrivateKey privateKey = KeyPair.Generate(KeyType.Ed25519).PrivateKey; return(new PrivateKey(privateKey)); }
internal PrivateKey(LibP2P.Crypto.PrivateKey privateKey) { this._privateKey = privateKey; }