Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CryptoKeyGenerator 类

定义

用于生成加密安全密钥和密码的实用工具方法。

public static class CryptoKeyGenerator
type CryptoKeyGenerator = class
Public Class CryptoKeyGenerator
继承
CryptoKeyGenerator

字段

Sha512KeySize

SHA 512 密钥的大小。

方法

GenerateKey(Int32)
已过时.

生成指定大小的键。

GenerateKeyBytes(Int32)
已过时.

生成具有指定密钥大小的密钥。

适用于