C# Class Renci.SshNet.Security.Cryptography.SHA2HashBase

SHA256 algorithm implementation.
Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Protected Properties

Свойство Type Description
H1 ulong

Méthodes publiques

Méthode Description
Initialize ( ) : void
SHA2HashBase ( ) : System

Initializes a new instance of the SHA512Hash class.

Méthodes protégées

Méthode Description
BE_To_UInt32 ( byte bs ) : uint
BE_To_UInt32 ( byte bs, int off ) : uint
BE_To_UInt64 ( byte bs ) : ulong
BE_To_UInt64 ( byte bs, int off ) : ulong
Finish ( ) : void
HashCore ( byte array, int ibStart, int cbSize ) : void
UInt32_To_BE ( uint n, byte bs, int off ) : void
UInt64_To_BE ( ulong n, byte bs, int off ) : void

Private Methods

Méthode Description
AdjustByteCounts ( ) : void

Adjust the byte counts so that byteCount2 represents the upper long (less 3 bits) word of the byte count.

Ch ( ulong x, ulong y, ulong z ) : ulong
Maj ( ulong x, ulong y, ulong z ) : ulong
ProcessBlock ( ) : void
ProcessLength ( long lowW, long hiW ) : void
ProcessWord ( byte input, int inOff ) : void
Sigma0 ( ulong x ) : ulong
Sigma1 ( ulong x ) : ulong
Sum0 ( ulong x ) : ulong
Sum1 ( ulong x ) : ulong
Update ( byte input ) : void

Method Details

BE_To_UInt32() protected static méthode

protected static BE_To_UInt32 ( byte bs ) : uint
bs byte
Résultat uint

BE_To_UInt32() protected static méthode

protected static BE_To_UInt32 ( byte bs, int off ) : uint
bs byte
off int
Résultat uint

BE_To_UInt64() protected static méthode

protected static BE_To_UInt64 ( byte bs ) : ulong
bs byte
Résultat ulong

BE_To_UInt64() protected static méthode

protected static BE_To_UInt64 ( byte bs, int off ) : ulong
bs byte
off int
Résultat ulong

Finish() protected méthode

protected Finish ( ) : void
Résultat void

HashCore() protected méthode

protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte
ibStart int
cbSize int
Résultat void

Initialize() public méthode

public Initialize ( ) : void
Résultat void

SHA2HashBase() public méthode

Initializes a new instance of the SHA512Hash class.
public SHA2HashBase ( ) : System
Résultat System

UInt32_To_BE() protected static méthode

protected static UInt32_To_BE ( uint n, byte bs, int off ) : void
n uint
bs byte
off int
Résultat void

UInt64_To_BE() protected static méthode

protected static UInt64_To_BE ( ulong n, byte bs, int off ) : void
n ulong
bs byte
off int
Résultat void

Property Details

H1 protected_oe property

protected ulong H1
Résultat ulong