Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetCipherIv()
[3/3]
static byte[] Internal.Cryptography.Helpers.GetCipherIv
(
this
CipherMode
cipherMode
,
byte[]
iv
)
inline
static
Definition at line
14
of file
Helpers.cs
.
15
{
16
if
(cipherMode.UsesIv())
17
{
18
if
(iv ==
null
)
19
{
20
throw
new
CryptographicException
(
System
.
SR
.
Cryptography_MissingIV
);
21
}
22
return
iv;
23
}
24
return
null
;
25
}
System.SR.Cryptography_MissingIV
static string Cryptography_MissingIV
Definition
SR.cs:112
System.SR
Definition
SR.cs:7
System.Security.Cryptography.CryptographicException
Definition
CryptographicException.cs:9
System
Definition
BlockingCollection.cs:8
References
System.SR.Cryptography_MissingIV
.
Internal
Cryptography
Helpers
Generated by
1.10.0