Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HashName

string System.Security.Cryptography.PasswordDeriveBytes.HashName
getset

Definition at line 36 of file PasswordDeriveBytes.cs.

37 {
38 get
39 {
40 return _hashName;
41 }
42 [RequiresUnreferencedCode("The hash implementation might be removed. Ensure the referenced hash algorithm is not trimmed.")]
43 set
44 {
45 if (_baseValue != null)
46 {
47 throw new CryptographicException(System.SR.Cryptography_PasswordDerivedBytes_ValuesFixed, "HashName");
48 }
50 _hash = (HashAlgorithm)CryptoConfig.CreateFromName(_hashName);
51 }
52 }
static string Cryptography_PasswordDerivedBytes_ValuesFixed
Definition SR.cs:62
Definition SR.cs:7

Referenced by System.Security.Cryptography.PasswordDeriveBytes.PasswordDeriveBytes().