CryptoKeyGenerator Class

Definition

Utility methods for generating cryptographically secure keys and passwords.

public static class CryptoKeyGenerator
type CryptoKeyGenerator = class
Public Class CryptoKeyGenerator
Inheritance
CryptoKeyGenerator

Fields

Sha512KeySize

Size of the SHA 512 key.

Methods

GenerateKey(Int32)
Obsolete.

Generates a key of the specified size.

GenerateKeyBytes(Int32)
Obsolete.

Generate a key with a specified key size.

Applies to