Create() public static method

public static Create ( ) : TripleDES
return TripleDES
Beispiel #1
0
 /// <summary>Creates an instance of a cryptographic object to perform the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</summary>
 /// <returns>An instance of a cryptographic object.</returns>
 /// <PermissionSet>
 ///   <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
 /// </PermissionSet>
 public new static TripleDES Create()
 {
     return(TripleDES.Create("System.Security.Cryptography.TripleDES"));
 }
Beispiel #2
0
 public TripleDESCryptoServiceProvider()
 {
     // This class wraps TripleDES
     _impl = TripleDES.Create();
 }