FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Data.HashFunction/src/Data.HashFunction.CRC/ICRCConfig.cs at master · Deskasoft/Data.HashFunction · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Deskasoft
/
Data.HashFunction
Public archive
forked from
brandondahler/Data.HashFunction
Notifications
You must be signed in to change notification settings
Fork
5
Star
25
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Data.HashFunction
/
src
/
Data.HashFunction.CRC
/
ICRCConfig.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
73 lines (59 loc) · 2.08 KB
Breadcrumbs
Data.HashFunction
/
src
/
Data.HashFunction.CRC
/
ICRCConfig.cs
Copy path
File metadata and controls
73 lines (59 loc) · 2.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Text
;
namespace
Data
.
HashFunction
.
CRC
{
/// <summary>
/// Defines a configuration for a <see cref="ICRC"/> implementation.
/// </summary>
public
interface
ICRCConfig
{
/// <summary>
/// Length of the produced CRC value, in bits.
/// </summary>
/// <value>
/// The length of the produced CRC value, in bits
/// </value>
int
HashSizeInBits
{
get
;
}
/// <summary>
/// Divisor to use when calculating the CRC.
/// </summary>
/// <value>
/// The divisor that will be used when calculating the CRC value.
/// </value>
UInt64
Polynomial
{
get
;
}
/// <summary>
/// Value to initialize the CRC register to before calculating the CRC.
/// </summary>
/// <value>
/// The value that will be used to initialize the CRC register before the calculation of the CRC value.
/// </value>
UInt64
InitialValue
{
get
;
}
/// <summary>
/// If true, the CRC calculation processes input as big endian bit order.
/// </summary>
/// <value>
/// <c>true</c> if the input should be processed in big endian bit order; otherwise, <c>false</c>.
/// </value>
bool
ReflectIn
{
get
;
}
/// <summary>
/// If true, the CRC calculation processes the output as big endian bit order.
/// </summary>
/// <value>
/// <c>true</c> if the CRC calculation processes the output as big endian bit order; otherwise, <c>false</c>.
/// </value>
bool
ReflectOut
{
get
;
}
/// <summary>
/// Value to xor with the final CRC value.
/// </summary>
/// <value>
/// The value to xor with the final CRC value.
/// </value>
UInt64
XOrOut
{
get
;
}
/// <summary>
/// Makes a deep clone of current instance.
/// </summary>
/// <returns>A deep clone of the current instance.</returns>
ICRCConfig
Clone
(
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL