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

◆ IV [2/2]

virtual byte [] System.Security.Cryptography.SymmetricAlgorithm.IV
getsetinherited

Definition at line 65 of file SymmetricAlgorithm.cs.

66 {
67 get
68 {
69 if (IVValue == null)
70 {
71 GenerateIV();
72 }
73 return IVValue.CloneByteArray();
74 }
75 set
76 {
77 if (value == null)
78 {
79 throw new ArgumentNullException("value");
80 }
81 if (value.Length != BlockSize / 8)
82 {
83 throw new CryptographicException(System.SR.Cryptography_InvalidIVSize);
84 }
85 IVValue = value.CloneByteArray();
86 }
87 }
static string Cryptography_InvalidIVSize
Definition SR.cs:102
Definition SR.cs:7

Referenced by Internal.Cryptography.AesImplementation.CreateDecryptor(), Internal.Cryptography.DesImplementation.CreateDecryptor(), Internal.Cryptography.RC2Implementation.CreateDecryptor(), Internal.Cryptography.TripleDesImplementation.CreateDecryptor(), System.Security.Cryptography.DESCryptoServiceProvider.CreateDecryptor(), System.Security.Cryptography.SymmetricAlgorithm.CreateDecryptor(), Internal.Cryptography.AesImplementation.CreateEncryptor(), Internal.Cryptography.DesImplementation.CreateEncryptor(), Internal.Cryptography.RC2Implementation.CreateEncryptor(), Internal.Cryptography.TripleDesImplementation.CreateEncryptor(), System.Security.Cryptography.DESCryptoServiceProvider.CreateEncryptor(), System.Security.Cryptography.SymmetricAlgorithm.CreateEncryptor(), System.Security.Cryptography.PasswordBasedEncryption.Encrypt(), Internal.Cryptography.AesImplementation.GenerateIV(), Internal.Cryptography.DesImplementation.GenerateIV(), Internal.Cryptography.RC2Implementation.GenerateIV(), and Internal.Cryptography.TripleDesImplementation.GenerateIV().