Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AsymmetricKeyAlgorithm.GenerateDiffieHellmanParameters Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 8.0.9673)

GenerateDiffieHellmanParameters(Int32)

Generates Diffie-Hellman parameters for the specified key size. This method is deprecated - for key sizes 2048 and larger, use a secure known group instead of generating your own.

Declaration
public static DiffieHellmanParameters GenerateDiffieHellmanParameters(int keySize)
Parameters
Type Name Description
Int32 keySize

Key size.

Returns
Type Description
DiffieHellmanParameters

Diffie-Hellman parameters.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies