Свойство | Тип | Описание | |
---|---|---|---|
CreateKeyedHashAlgorithm | KeyedHashAlgorithm | ||
ThreadSafeCreateKeyedHashedAlgorithm | KeyedHashAlgorithm |
Метод | Описание | |
---|---|---|
ComputeMD5Hash ( Stream steam ) : byte[] | ||
ComputeMD5Hash ( byte data ) : byte[] | ||
ComputeSHA256Hash ( Stream steam ) : byte[] | ||
ComputeSHA256Hash ( byte data ) : byte[] | ||
HMACSign ( byte data, string key, SigningAlgorithm algorithmName ) : string | ||
HMACSign ( string data, string key, SigningAlgorithm algorithmName ) : string | ||
HMACSignBinary ( byte data, byte key, SigningAlgorithm algorithmName ) : byte[] |
Метод | Описание | |
---|---|---|
CreateKeyedHashAlgorithm ( SigningAlgorithm algorithmName ) : KeyedHashAlgorithm | ||
ThreadSafeCreateKeyedHashedAlgorithm ( SigningAlgorithm algorithmName ) : KeyedHashAlgorithm |
The iOS il2cpp implementation of System.Security.Cryptography.RandomNumberGenerator, which is called by the initialization of KeyedHashAlgorithm.Create for a given algorithm name, is not threadsafe. We keep track of which algorithms have been initialized, and retain a lock if this is the first time we create a particular algorithm.
|
public ComputeMD5Hash ( Stream steam ) : byte[] | ||
steam | Stream | |
Результат | byte[] |
public ComputeMD5Hash ( byte data ) : byte[] | ||
data | byte | |
Результат | byte[] |
public ComputeSHA256Hash ( Stream steam ) : byte[] | ||
steam | Stream | |
Результат | byte[] |
public ComputeSHA256Hash ( byte data ) : byte[] | ||
data | byte | |
Результат | byte[] |
public HMACSign ( byte data, string key, SigningAlgorithm algorithmName ) : string | ||
data | byte | |
key | string | |
algorithmName | SigningAlgorithm | |
Результат | string |
public HMACSign ( string data, string key, SigningAlgorithm algorithmName ) : string | ||
data | string | |
key | string | |
algorithmName | SigningAlgorithm | |
Результат | string |
public HMACSignBinary ( byte data, byte key, SigningAlgorithm algorithmName ) : byte[] | ||
data | byte | |
key | byte | |
algorithmName | SigningAlgorithm | |
Результат | byte[] |