使用 System.Security.Cryptography.Rijndael 或 System.Security.Cryptography.Aes 类中的 GenerateKey()、CreateEncryptor(Byte[], Byte[]) 或 CreateEncryptor() 方法时,如何生成密钥?
- 它是否遵循RFC-2898中使用的方法?我只能假设它确实遵循 RFC-2898,因为 Rfc2898DeriveBytes 也是 System.Security.Cryptography 命名空间中的一个类。