System.Security.Cryptography.RijndaelManaged.GenerateKey C# (CSharp) Method

GenerateKey() public method

public GenerateKey ( ) : void
return void
        public override void GenerateKey() => _impl.GenerateKey();

Usage Example

示例#1
1
文件: AES.cs 项目: nicoriff/NinoJS
 /// -------------- Two Utility Methods (not used but may be useful) -----------
 /// Generates an encryption key.
 public static byte[] GenerateEncryptionKey()
 {
     //Generate a Key.
     RijndaelManaged rm = new RijndaelManaged();
     rm.GenerateKey();
     return rm.Key;
 }
All Usage Examples Of System.Security.Cryptography.RijndaelManaged::GenerateKey