Implementation of CRC64. NOTE: never use CRC for integrity checks, use hashes instead!
More...
|
static ulong | CalcCRC (params byte[] bytes) |
| Calculate the CRC64 for a byte-array.
|
|
static ulong | CalcCRC (string text, Encoding? encoding=null) |
| Calculate the CRC64 for a string.
|
|
static ulong | CalcCRCFile (string file) |
| Calculate the CRC64 for a file.
|
|
static async Task< ulong > | CalcCRCFileAsync (string file) |
| /// Calculate the CRC64 for a file asynchronously.
|
|
Implementation of CRC64. NOTE: never use CRC for integrity checks, use hashes instead!
◆ CalcCRC() [1/2]
static ulong BogaNet.CRC.CRC64.CalcCRC |
( |
params byte[] | bytes | ) |
|
|
static |
Calculate the CRC64 for a byte-array.
- Parameters
-
- Returns
- CRC64 as ulong
- Exceptions
-
◆ CalcCRC() [2/2]
static ulong BogaNet.CRC.CRC64.CalcCRC |
( |
string | text, |
|
|
Encoding? | encoding = null ) |
|
static |
Calculate the CRC64 for a string.
- Parameters
-
text | string for the CRC64 |
encoding | Encoding of the string (optional, default: UTF8) |
- Returns
- CRC64 as ulong
- Exceptions
-
◆ CalcCRCFile()
static ulong BogaNet.CRC.CRC64.CalcCRCFile |
( |
string | file | ) |
|
|
static |
Calculate the CRC64 for a file.
- Parameters
-
- Returns
- CRC64 as ulong
- Exceptions
-
◆ CalcCRCFileAsync()
static async Task< ulong > BogaNet.CRC.CRC64.CalcCRCFileAsync |
( |
string | file | ) |
|
|
static |
/// Calculate the CRC64 for a file asynchronously.
- Parameters
-
- Returns
- CRC64 as ulong
- Exceptions
-
The documentation for this class was generated from the following file:
- /Users/stefanlaubenberger/Projects/CSharp/BogaNet/BogaNet.CRC/CRC/CRC64.cs