Show / Hide Table of Contents

Class Crc32

Inheritance
System.Object
System.Security.Cryptography.HashAlgorithm
Crc32
Implements
System.Security.Cryptography.ICryptoTransform
System.IDisposable
Inherited Members
System.Security.Cryptography.HashAlgorithm.HashSizeValue
System.Security.Cryptography.HashAlgorithm.HashValue
System.Security.Cryptography.HashAlgorithm.State
System.Security.Cryptography.HashAlgorithm.Clear()
System.Security.Cryptography.HashAlgorithm.ComputeHash(System.Byte[])
System.Security.Cryptography.HashAlgorithm.ComputeHash(System.Byte[], System.Int32, System.Int32)
System.Security.Cryptography.HashAlgorithm.ComputeHash(System.IO.Stream)
System.Security.Cryptography.HashAlgorithm.Create()
System.Security.Cryptography.HashAlgorithm.Create(System.String)
System.Security.Cryptography.HashAlgorithm.Dispose()
System.Security.Cryptography.HashAlgorithm.Dispose(System.Boolean)
System.Security.Cryptography.HashAlgorithm.TransformBlock(System.Byte[], System.Int32, System.Int32, System.Byte[], System.Int32)
System.Security.Cryptography.HashAlgorithm.TransformFinalBlock(System.Byte[], System.Int32, System.Int32)
System.Security.Cryptography.HashAlgorithm.CanReuseTransform
System.Security.Cryptography.HashAlgorithm.CanTransformMultipleBlocks
System.Security.Cryptography.HashAlgorithm.Hash
System.Security.Cryptography.HashAlgorithm.InputBlockSize
System.Security.Cryptography.HashAlgorithm.OutputBlockSize
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Sys
Assembly: SIPSorcery.dll
Syntax
public class Crc32 : HashAlgorithm, ICryptoTransform, IDisposable

Constructors

| Improve this Doc View Source

Crc32()

Declaration
public Crc32()
| Improve this Doc View Source

Crc32(UInt32, UInt32)

Declaration
public Crc32(uint polynomial, uint seed)
Parameters
Type Name Description
System.UInt32 polynomial
System.UInt32 seed

Fields

| Improve this Doc View Source

DefaultPolynomial

Declaration
public const uint DefaultPolynomial = 3988292384U
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

DefaultSeed

Declaration
public const uint DefaultSeed = 4294967295U
Field Value
Type Description
System.UInt32

Properties

| Improve this Doc View Source

HashSize

Declaration
public override int HashSize { get; }
Property Value
Type Description
System.Int32
Overrides
System.Security.Cryptography.HashAlgorithm.HashSize

Methods

| Improve this Doc View Source

Compute(Byte[])

Declaration
public static uint Compute(byte[] buffer)
Parameters
Type Name Description
System.Byte[] buffer
Returns
Type Description
System.UInt32
| Improve this Doc View Source

Compute(UInt32, Byte[])

Declaration
public static uint Compute(uint seed, byte[] buffer)
Parameters
Type Name Description
System.UInt32 seed
System.Byte[] buffer
Returns
Type Description
System.UInt32
| Improve this Doc View Source

Compute(UInt32, UInt32, Byte[])

Declaration
public static uint Compute(uint polynomial, uint seed, byte[] buffer)
Parameters
Type Name Description
System.UInt32 polynomial
System.UInt32 seed
System.Byte[] buffer
Returns
Type Description
System.UInt32
| Improve this Doc View Source

HashCore(Byte[], Int32, Int32)

Declaration
protected override void HashCore(byte[] buffer, int start, int length)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 start
System.Int32 length
Overrides
System.Security.Cryptography.HashAlgorithm.HashCore(System.Byte[], System.Int32, System.Int32)
| Improve this Doc View Source

HashFinal()

Declaration
protected override byte[] HashFinal()
Returns
Type Description
System.Byte[]
Overrides
System.Security.Cryptography.HashAlgorithm.HashFinal()
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
System.Security.Cryptography.HashAlgorithm.Initialize()

Implements

System.Security.Cryptography.ICryptoTransform
System.IDisposable

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX