Метод | Описание | |
---|---|---|
Hash ( this data, Func |
||
Hmac256 ( this data, string key ) : string | ||
MD5 ( this data ) : string |
Creates MD5 sum from string, 16 bytes(hex): 32 unicode chars
|
|
Sha256 ( this data ) : string |
Hash a string using the SHA256 algorithm. 32 bytes (hex): 64 unicode chars, 128 bytes
|
|
Sha512 ( this data ) : string |
Hash a string using the SHA512 algorithm. 128 unicode chars, 256 bytes
|
Метод | Описание | |
---|---|---|
HashAsString ( string data, Func |
public static Hash ( this data, Func |
||
data | this | |
factory | Func |
|
Результат | byte[] |
public static Hmac256 ( this data, string key ) : string | ||
data | this | |
key | string | |
Результат | string |
public static MD5 ( this data ) : string | ||
data | this | |
Результат | string |
public static Sha256 ( this data ) : string | ||
data | this | |
Результат | string |
public static Sha512 ( this data ) : string | ||
data | this | |
Результат | string |