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

GenerateKey() public method

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

Usage Example

Esempio n. 1
1
 /// -------------- 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