Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Rijndael.cs
Go to the documentation of this file.
1
using
System.ComponentModel
;
2
using
System.Diagnostics.CodeAnalysis
;
3
using
System.Runtime.Versioning
;
4
using
Internal.Cryptography
;
5
6
namespace
System.Security.Cryptography
;
7
8
[Obsolete(
"The Rijndael and RijndaelManaged types are obsolete. Use Aes instead."
, DiagnosticId =
"SYSLIB0022"
, UrlFormat =
"https://aka.ms/dotnet-warnings/{0}"
)]
9
[EditorBrowsable(
EditorBrowsableState
.Never)]
10
[UnsupportedOSPlatform(
"browser"
)]
11
public
abstract
class
Rijndael
:
SymmetricAlgorithm
12
{
13
private
static
readonly
KeySizes
[]
s_legalBlockSizes
=
new
KeySizes
[1]
14
{
15
new
KeySizes
(128, 256, 64)
16
};
17
18
private
static
readonly
KeySizes
[]
s_legalKeySizes
=
new
KeySizes
[1]
19
{
20
new
KeySizes
(128, 256, 64)
21
};
22
23
public
new
static
Rijndael
Create
()
24
{
25
return
new
RijndaelImplementation
();
26
}
27
28
[RequiresUnreferencedCode(
"The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead."
)]
29
public
new
static
Rijndael
?
Create
(
string
algName)
30
{
31
return
(
Rijndael
)
CryptoConfig
.
CreateFromName
(algName);
32
}
33
34
protected
Rijndael
()
35
{
36
LegalBlockSizesValue
=
s_legalBlockSizes
.CloneKeySizesArray();
37
LegalKeySizesValue
=
s_legalKeySizes
.CloneKeySizesArray();
38
KeySizeValue
= 256;
39
BlockSizeValue
= 128;
40
FeedbackSizeValue
=
BlockSizeValue
;
41
}
42
}
Internal.Cryptography.RijndaelImplementation
Definition
RijndaelImplementation.cs:8
System.Security.Cryptography.CryptoConfig.CreateFromName
static ? object CreateFromName(string name, params object?[]? args)
Definition
CryptoConfig.cs:228
System.Security.Cryptography.CryptoConfig
Definition
CryptoConfig.cs:11
System.Security.Cryptography.KeySizes
Definition
KeySizes.cs:4
System.Security.Cryptography.Rijndael.s_legalBlockSizes
static readonly KeySizes[] s_legalBlockSizes
Definition
Rijndael.cs:13
System.Security.Cryptography.Rijndael.s_legalKeySizes
static readonly KeySizes[] s_legalKeySizes
Definition
Rijndael.cs:18
System.Security.Cryptography.Rijndael.Create
static new? Rijndael Create(string algName)
Definition
Rijndael.cs:29
System.Security.Cryptography.Rijndael.Rijndael
Rijndael()
Definition
Rijndael.cs:34
System.Security.Cryptography.Rijndael.Create
static new Rijndael Create()
Definition
Rijndael.cs:23
System.Security.Cryptography.Rijndael
Definition
Rijndael.cs:12
System.Security.Cryptography.SymmetricAlgorithm.KeySizeValue
int KeySizeValue
Definition
SymmetricAlgorithm.cs:21
System.Security.Cryptography.SymmetricAlgorithm.LegalBlockSizesValue
KeySizes[] LegalBlockSizesValue
Definition
SymmetricAlgorithm.cs:24
System.Security.Cryptography.SymmetricAlgorithm.LegalKeySizesValue
KeySizes[] LegalKeySizesValue
Definition
SymmetricAlgorithm.cs:27
System.Security.Cryptography.SymmetricAlgorithm.FeedbackSizeValue
int FeedbackSizeValue
Definition
SymmetricAlgorithm.cs:19
System.Security.Cryptography.SymmetricAlgorithm.BlockSizeValue
int BlockSizeValue
Definition
SymmetricAlgorithm.cs:17
System.Security.Cryptography.SymmetricAlgorithm
Definition
SymmetricAlgorithm.cs:8
Internal.Cryptography
Definition
AesBCryptModes.cs:5
System.ComponentModel.EditorBrowsableState
EditorBrowsableState
Definition
EditorBrowsableState.cs:4
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Runtime.Versioning
Definition
NonVersionableAttribute.cs:1
System.Security.Cryptography
Definition
CryptoPool.cs:3
source
System.Security.Cryptography.Algorithms
System.Security.Cryptography
Rijndael.cs
Generated by
1.10.0