Hi all, I'm using PasswordDeriveBytes class to derive an AES cipher key with the following code: RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); byte[] salt = new byte[8]; rng.GetBytes(salt); PasswordDeriveBytes pdb = new PasswordDeriveBytes(keyHash, salt); aes.Key = pdb.CryptDeriveKey("AES", "SHA1", 128, aes.IV);
however, it comes with an CryptographicException with the message: Object identifier (OID) is unknown So what's the valid name for "AES" algorithm? I'm using AES 128. Thanks~