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

◆ BlockSize [2/2]

virtual int System.Security.Cryptography.SymmetricAlgorithm.BlockSize
getsetinherited

Definition at line 45 of file SymmetricAlgorithm.cs.

46 {
47 get
48 {
49 return BlockSizeValue;
50 }
51 set
52 {
53 if (!value.IsLegalSize(LegalBlockSizes, out var validatedByZeroSkipSizeKeySizes))
54 {
55 throw new CryptographicException(System.SR.Cryptography_InvalidBlockSize);
56 }
57 if (BlockSizeValue != value || validatedByZeroSkipSizeKeySizes)
58 {
60 IVValue = null;
61 }
62 }
63 }
static string Cryptography_InvalidBlockSize
Definition SR.cs:40
Definition SR.cs:7

Referenced by System.Security.Cryptography.SymmetricAlgorithm.CheckFeedbackSize(), System.Security.Cryptography.SymmetricAlgorithm.CheckInitializationVectorSize(), Internal.Cryptography.AesImplementation.CreateTransform(), Internal.Cryptography.DesImplementation.CreateTransform(), Internal.Cryptography.RC2Implementation.CreateTransform(), Internal.Cryptography.TripleDesImplementation.CreateTransform(), System.Security.Cryptography.DESCryptoServiceProvider.CreateTransform(), System.Security.Cryptography.RC2CryptoServiceProvider.CreateTransform(), Internal.Cryptography.AesImplementation.GenerateIV(), Internal.Cryptography.DesImplementation.GenerateIV(), Internal.Cryptography.RC2Implementation.GenerateIV(), Internal.Cryptography.TripleDesImplementation.GenerateIV(), System.Security.Cryptography.SymmetricAlgorithm.GetCiphertextLengthBlockAligned(), Internal.Cryptography.RC2Implementation.GetPaddingSize(), System.Security.Cryptography.PasswordBasedEncryption.Pkcs12PbeDecrypt(), System.Security.Cryptography.PasswordBasedEncryption.Pkcs12PbeDecrypt(), Internal.Cryptography.AesImplementation.TryDecryptCbcCore(), Internal.Cryptography.DesImplementation.TryDecryptCbcCore(), Internal.Cryptography.RC2Implementation.TryDecryptCbcCore(), Internal.Cryptography.TripleDesImplementation.TryDecryptCbcCore(), Internal.Cryptography.AesImplementation.TryDecryptCfbCore(), Internal.Cryptography.DesImplementation.TryDecryptCfbCore(), Internal.Cryptography.TripleDesImplementation.TryDecryptCfbCore(), Internal.Cryptography.AesImplementation.TryDecryptEcbCore(), Internal.Cryptography.DesImplementation.TryDecryptEcbCore(), Internal.Cryptography.RC2Implementation.TryDecryptEcbCore(), Internal.Cryptography.TripleDesImplementation.TryDecryptEcbCore(), Internal.Cryptography.AesImplementation.TryEncryptCbcCore(), Internal.Cryptography.DesImplementation.TryEncryptCbcCore(), Internal.Cryptography.RC2Implementation.TryEncryptCbcCore(), Internal.Cryptography.TripleDesImplementation.TryEncryptCbcCore(), Internal.Cryptography.AesImplementation.TryEncryptCfbCore(), Internal.Cryptography.DesImplementation.TryEncryptCfbCore(), Internal.Cryptography.TripleDesImplementation.TryEncryptCfbCore(), Internal.Cryptography.AesImplementation.TryEncryptEcbCore(), Internal.Cryptography.DesImplementation.TryEncryptEcbCore(), Internal.Cryptography.RC2Implementation.TryEncryptEcbCore(), and Internal.Cryptography.TripleDesImplementation.TryEncryptEcbCore().