Checksums
public static class Checksums
1. Methods
1.1. CleanHash(string)
public static string CleanHash(string hash)
| Name | Type | Description |
|---|---|---|
hash |
string |
Returns: string
1.2. ComputeCRC32_BE(IFileInfo)
public static string ComputeCRC32_BE(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.3. ComputeCRC32_BE(Stream)
public static string ComputeCRC32_BE(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.4. ComputeCRC32_BE(byte[])
public static uint ComputeCRC32_BE(this byte[] data)
| Name | Type | Description |
|---|---|---|
data |
byte[] |
Returns: uint
1.5. ComputeCRC32_LE(IFileInfo)
public static string ComputeCRC32_LE(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.6. ComputeCRC32_LE(Stream)
public static string ComputeCRC32_LE(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.7. ComputeMD5(IFileInfo)
public static string ComputeMD5(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.8. ComputeMD5(Stream)
public static string ComputeMD5(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.9. ComputeQXOR(IFileInfo)
public static string ComputeQXOR(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.10. ComputeQXOR(Stream)
public static string ComputeQXOR(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.11. ComputeSHA2_256(IFileInfo)
public static string ComputeSHA2_256(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.12. ComputeSHA2_256(Stream)
public static string ComputeSHA2_256(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.13. ComputeSHA2_384(IFileInfo)
public static string ComputeSHA2_384(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.14. ComputeSHA2_384(Stream)
public static string ComputeSHA2_384(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.15. ComputeSHA2_512(IFileInfo)
public static string ComputeSHA2_512(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.16. ComputeSHA2_512(Stream)
public static string ComputeSHA2_512(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.17. ComputeXXH3_128(IFileInfo)
public static string ComputeXXH3_128(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.18. ComputeXXH3_128(Stream)
public static string ComputeXXH3_128(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.19. ComputeXXH3_64(IFileInfo)
public static string ComputeXXH3_64(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.20. ComputeXXH3_64(Stream)
public static string ComputeXXH3_64(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.21. ComputeXXH_32(IFileInfo)
public static string ComputeXXH_32(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.22. ComputeXXH_32(Stream)
public static string ComputeXXH_32(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.23. ComputeXXH_64(IFileInfo)
public static string ComputeXXH_64(this IFileInfo file)
| Name | Type | Description |
|---|---|---|
file |
IFileInfo |
Returns: string
1.24. ComputeXXH_64(Stream)
public static string ComputeXXH_64(this Stream stream)
| Name | Type | Description |
|---|---|---|
stream |
Stream |
Returns: string
1.25. FromByteArray(byte[])
public static string FromByteArray(this byte[] bytes)
| Name | Type | Description |
|---|---|---|
bytes |
byte[] |
Returns: string