2 writes to entropy
System.ServiceModel (2)
System\ServiceModel\Security\DataProtectionSecurityStateEncoder.cs (2)
30
this.
entropy
= null;
34
this.
entropy
= DiagnosticUtility.Utility.AllocateByteArray(entropy.Length);
9 references to entropy
System.ServiceModel (9)
System\ServiceModel\Security\DataProtectionSecurityStateEncoder.cs (9)
35
Buffer.BlockCopy(entropy, 0, this.
entropy
, 0, entropy.Length);
50
if (this.
entropy
!= null)
52
result = DiagnosticUtility.Utility.AllocateByteArray(this.
entropy
.Length);
53
Buffer.BlockCopy(this.
entropy
, 0, result, 0, this.
entropy
.Length);
63
result.AppendFormat("{0} Entropy Length={1}", Environment.NewLine, (this.
entropy
== null) ? 0 : this.
entropy
.Length);
71
return ProtectedData.Unprotect(data, this.
entropy
, (this.useCurrentUserProtectionScope) ? DataProtectionScope.CurrentUser : DataProtectionScope.LocalMachine);
84
return ProtectedData.Protect(data, this.
entropy
, (this.useCurrentUserProtectionScope) ? DataProtectionScope.CurrentUser : DataProtectionScope.LocalMachine);