Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AesAEAD.cs
Go to the documentation of this file.
1
namespace
System.Security.Cryptography
;
2
3
internal
static
class
AesAEAD
4
{
5
public
static
void
CheckKeySize
(
int
keySizeInBytes)
6
{
7
if
(keySizeInBytes != 16 && keySizeInBytes != 24 && keySizeInBytes != 32)
8
{
9
throw
new
CryptographicException
(
System
.
SR
.
Cryptography_InvalidKeySize
);
10
}
11
}
12
}
System.SR.Cryptography_InvalidKeySize
static string Cryptography_InvalidKeySize
Definition
SR.cs:92
System.SR
Definition
SR.cs:7
System.Security.Cryptography.AesAEAD.CheckKeySize
static void CheckKeySize(int keySizeInBytes)
Definition
AesAEAD.cs:5
System.Security.Cryptography.AesAEAD
Definition
AesAEAD.cs:4
System.Security.Cryptography.CryptographicException
Definition
CryptographicException.cs:9
System.Security.Cryptography
Definition
CryptoPool.cs:3
System
Definition
BlockingCollection.cs:8
source
System.Security.Cryptography.Algorithms
System.Security.Cryptography
AesAEAD.cs
Generated by
1.10.0