Terraria v1.4.4.9
Terraria source code documentation
|
Package Functions | |
void | PadOaep (ReadOnlySpan< byte > source, Span< byte > destination) |
void | PadOaep (ReadOnlySpan< byte > source, Span< byte > destination) |
Static Package Functions | |
static int | BytesRequiredForBitCount (int keySizeInBits) |
static RsaPaddingProcessor | OpenProcessor (HashAlgorithmName hashAlgorithmName) |
static void | PadPkcs1Encryption (ReadOnlySpan< byte > source, Span< byte > destination) |
static int | BytesRequiredForBitCount (int keySizeInBits) |
static System.Security.Cryptography.RsaPaddingProcessor | OpenProcessor (HashAlgorithmName hashAlgorithmName) |
static void | PadPkcs1Encryption (ReadOnlySpan< byte > source, Span< byte > destination) |
Private Member Functions | |
RsaPaddingProcessor (HashAlgorithmName hashAlgorithmName, int hLen, ReadOnlyMemory< byte > digestInfoPrefix) | |
void | Mgf1 (IncrementalHash hasher, ReadOnlySpan< byte > mgfSeed, Span< byte > mask) |
RsaPaddingProcessor (HashAlgorithmName hashAlgorithmName, int hLen, ReadOnlyMemory< byte > digestInfoPrefix) | |
void | Mgf1 (IncrementalHash hasher, ReadOnlySpan< byte > mgfSeed, Span< byte > mask) |
Static Private Member Functions | |
static void | FillNonZeroBytes (Span< byte > data) |
static void | Xor (Span< byte > a, ReadOnlySpan< byte > b) |
static void | FillNonZeroBytes (Span< byte > data) |
static void | Xor (Span< byte > a, ReadOnlySpan< byte > b) |
Private Attributes | |
readonly HashAlgorithmName | _hashAlgorithmName |
readonly int | _hLen |
readonly ReadOnlyMemory< byte > | _digestInfoPrefix |
Static Private Attributes | |
static readonly byte[] | s_digestInfoMD5 |
static readonly byte[] | s_digestInfoSha1 |
static readonly byte[] | s_digestInfoSha256 |
static readonly byte[] | s_digestInfoSha384 |
static readonly byte[] | s_digestInfoSha512 |
static readonly ConcurrentDictionary< HashAlgorithmName, RsaPaddingProcessor > | s_lookup = new ConcurrentDictionary<HashAlgorithmName, RsaPaddingProcessor>() |
static readonly ConcurrentDictionary< HashAlgorithmName, System.Security.Cryptography.RsaPaddingProcessor > | s_lookup = new ConcurrentDictionary<HashAlgorithmName, System.Security.Cryptography.RsaPaddingProcessor>() |
Definition at line 6 of file RsaPaddingProcessor.cs.