C# 클래스 Coinium.Core.Crypto.Sha256Hash

파일 보기 프로젝트 열기: Ziftr/CoiniumServ 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ZeroHash Sha256Hash

공개 메소드들

메소드 설명
Duplicate ( ) : Sha256Hash
Equals ( object other ) : bool

Returns true if the hashes are equal.

GetHashCode ( ) : int

Hash code of the byte array as calculated by object.GetHashCode. Note the difference between a SHA256 secure bytes and the type of quick/dirty bytes used by the Java hashCode method which is designed for use in bytes tables.

Sha256Hash ( byte bytes ) : System

Creates a Sha256Hash by wrapping the given byte array. It must be 32 bytes long.

Sha256Hash ( string @string ) : System

Creates a Sha256Hash by decoding the given hex string. It must be 64 characters long.

ToBigInteger ( ) : BigInteger

Returns the bytes interpreted as a positive integer.

ToString ( ) : string

메소드 상세

Duplicate() 공개 메소드

public Duplicate ( ) : Sha256Hash
리턴 Sha256Hash

Equals() 공개 메소드

Returns true if the hashes are equal.
public Equals ( object other ) : bool
other object
리턴 bool

GetHashCode() 공개 메소드

Hash code of the byte array as calculated by object.GetHashCode. Note the difference between a SHA256 secure bytes and the type of quick/dirty bytes used by the Java hashCode method which is designed for use in bytes tables.
public GetHashCode ( ) : int
리턴 int

Sha256Hash() 공개 메소드

Creates a Sha256Hash by wrapping the given byte array. It must be 32 bytes long.
public Sha256Hash ( byte bytes ) : System
bytes byte
리턴 System

Sha256Hash() 공개 메소드

Creates a Sha256Hash by decoding the given hex string. It must be 64 characters long.
public Sha256Hash ( string @string ) : System
@string string
리턴 System

ToBigInteger() 공개 메소드

Returns the bytes interpreted as a positive integer.
public ToBigInteger ( ) : BigInteger
리턴 Org.BouncyCastle.Math.BigInteger

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

ZeroHash 공개적으로 정적으로 프로퍼티

public static Sha256Hash,Coinium.Core.Crypto ZeroHash
리턴 Sha256Hash