public static void Test1(byte[] userData, byte[] entropy, System.Security.Cryptography.DataProtectionScope scope)
        {
            var result = System.Security.Cryptography.ProtectedData.Protect(userData, entropy, scope);

            Contract.Assert(result != null);
        }
Example #2
0
 public static byte[] Unprotect(byte[] encryptedData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope)
 {
     throw null;
 }
 public static byte[] Unprotect(byte[] encryptedData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope)
 {
     return(default(byte[]));
 }
 public static byte[] Protect(byte[] userData, byte[]?optionalEntropy, System.Security.Cryptography.DataProtectionScope scope)
 {
     throw null;
 }