C# 클래스 Zazzles.Data.Hash

Handle all encryption/decryption
파일 보기 프로젝트 열기: FOGProject/zazzles

공개 메소드들

메소드 설명
MD5 ( byte data ) : string

Creates an md5 hash of bytes

MD5 ( string filePath ) : string

Creates an md5 hash of a file

SHA1 ( byte data ) : string

Creates a sha1 hash of bytes

SHA1 ( string filePath ) : string

Creates a sha1 hash of a file

SHA256 ( byte data ) : string

Creates a sha256 hash of bytes

SHA256 ( string filePath ) : string

Creates a sha256 hash of a file

SHA384 ( byte data ) : string

Creates a sha384 hash of bytes

SHA384 ( string filePath ) : string

Creates a sha384 hash of a file

SHA512 ( byte data ) : string

Creates a sha512 hash of bytes

SHA512 ( string filePath ) : string

Creates a sha512 hash of a file

비공개 메소드들

메소드 설명
HashBytes ( HashAlgorithm alg, byte data ) : string

Hash a set of bytes with a given algorithm, digested to hex form

HashFile ( HashAlgorithm alg, string filePath ) : string

Hash a file with a given algorithm, digested to hex form

메소드 상세

MD5() 공개 정적인 메소드

Creates an md5 hash of bytes
public static MD5 ( byte data ) : string
data byte The bytes to hash
리턴 string

MD5() 공개 정적인 메소드

Creates an md5 hash of a file
public static MD5 ( string filePath ) : string
filePath string The path to the file
리턴 string

SHA1() 공개 정적인 메소드

Creates a sha1 hash of bytes
public static SHA1 ( byte data ) : string
data byte The bytes to hash
리턴 string

SHA1() 공개 정적인 메소드

Creates a sha1 hash of a file
public static SHA1 ( string filePath ) : string
filePath string The path to the file
리턴 string

SHA256() 공개 정적인 메소드

Creates a sha256 hash of bytes
public static SHA256 ( byte data ) : string
data byte The bytes to hash
리턴 string

SHA256() 공개 정적인 메소드

Creates a sha256 hash of a file
public static SHA256 ( string filePath ) : string
filePath string The path to the file
리턴 string

SHA384() 공개 정적인 메소드

Creates a sha384 hash of bytes
public static SHA384 ( byte data ) : string
data byte The bytes to hash
리턴 string

SHA384() 공개 정적인 메소드

Creates a sha384 hash of a file
public static SHA384 ( string filePath ) : string
filePath string The path to the file
리턴 string

SHA512() 공개 정적인 메소드

Creates a sha512 hash of bytes
public static SHA512 ( byte data ) : string
data byte The bytes to hash
리턴 string

SHA512() 공개 정적인 메소드

Creates a sha512 hash of a file
public static SHA512 ( string filePath ) : string
filePath string The path to the file
리턴 string