CreateKey() public method

public CreateKey ( int numBytes ) : String
numBytes int
return String
Example #1
0
 /// <summary>
 /// Shows Logs the form.
 /// </summary>
 /// <returns></returns>
 public ActionResult LogOn()
 {
     ViewBag.HasError = false;
     CryptoGen x=new CryptoGen();
     var val = x.CreateKey(30);
     var dec = x.CreateKey(30);
     return View();
 }
Example #2
0
 /// <summary>
 /// Shows Logs the form.
 /// </summary>
 /// <returns></returns>
 public ActionResult LogOn()
 {
     CryptoGen x=new CryptoGen();
     var val = x.CreateKey(30);
     var dec = x.CreateKey(30);
     return View();
 }