C# 클래스 Deveel.Data.Security.CryptoHashExtenions

파일 보기 프로젝트 열기: deveel/deveeldb

공개 메소드들

메소드 설명
ComputeString ( this hash, string s ) : string
GenerateSalt ( this hash ) : byte[]
GenerateSaltString ( this hash ) : string
MakePbkdf2 ( this hash, byte data, byte salt, int length ) : byte[]
MakePbkdf2 ( this hash, byte data, byte salt, int length, int iterationCount ) : byte[]
MakePbkdf2 ( this hash, byte salt, int length, int iterationCount ) : byte[]
MakePbkdf2String ( this hash, string input, byte salt, int length ) : string
MakePbkdf2String ( this hash, string input, byte salt, int length, int iterationCount ) : string
MakePbkdf2String ( this hash, string input, string salt, int length ) : string
MakePbkdf2String ( this hash, string input, string salt, int length, int iterationCount ) : string
VerifyPbkdf2 ( this hash, byte hashed, byte otherData, byte salt ) : bool
VerifyPbkdf2 ( this hash, byte hashed, byte otherData, byte salt, int iterationCount ) : bool
VerifyPbkdf2String ( this hash, string hashedString, string otherString, byte salt ) : bool
VerifyPbkdf2String ( this hash, string hashedString, string otherString, byte salt, int iterationCount ) : bool
VerifyPbkdf2String ( this hash, string hashedString, string otherString, string saltString ) : bool
VerifyPbkdf2String ( this hash, string hashedString, string otherString, string saltString, int iterationCount ) : bool

비공개 메소드들

메소드 설명
BinaryToHex ( byte data ) : string
ByteArraysEqual ( byte a, byte b ) : bool

메소드 상세

ComputeString() 공개 정적인 메소드

public static ComputeString ( this hash, string s ) : string
hash this
s string
리턴 string

GenerateSalt() 공개 정적인 메소드

public static GenerateSalt ( this hash ) : byte[]
hash this
리턴 byte[]

GenerateSaltString() 공개 정적인 메소드

public static GenerateSaltString ( this hash ) : string
hash this
리턴 string

MakePbkdf2() 공개 정적인 메소드

public static MakePbkdf2 ( this hash, byte data, byte salt, int length ) : byte[]
hash this
data byte
salt byte
length int
리턴 byte[]

MakePbkdf2() 공개 정적인 메소드

public static MakePbkdf2 ( this hash, byte data, byte salt, int length, int iterationCount ) : byte[]
hash this
data byte
salt byte
length int
iterationCount int
리턴 byte[]

MakePbkdf2() 공개 정적인 메소드

public static MakePbkdf2 ( this hash, byte salt, int length, int iterationCount ) : byte[]
hash this
salt byte
length int
iterationCount int
리턴 byte[]

MakePbkdf2String() 공개 정적인 메소드

public static MakePbkdf2String ( this hash, string input, byte salt, int length ) : string
hash this
input string
salt byte
length int
리턴 string

MakePbkdf2String() 공개 정적인 메소드

public static MakePbkdf2String ( this hash, string input, byte salt, int length, int iterationCount ) : string
hash this
input string
salt byte
length int
iterationCount int
리턴 string

MakePbkdf2String() 공개 정적인 메소드

public static MakePbkdf2String ( this hash, string input, string salt, int length ) : string
hash this
input string
salt string
length int
리턴 string

MakePbkdf2String() 공개 정적인 메소드

public static MakePbkdf2String ( this hash, string input, string salt, int length, int iterationCount ) : string
hash this
input string
salt string
length int
iterationCount int
리턴 string

VerifyPbkdf2() 공개 정적인 메소드

public static VerifyPbkdf2 ( this hash, byte hashed, byte otherData, byte salt ) : bool
hash this
hashed byte
otherData byte
salt byte
리턴 bool

VerifyPbkdf2() 공개 정적인 메소드

public static VerifyPbkdf2 ( this hash, byte hashed, byte otherData, byte salt, int iterationCount ) : bool
hash this
hashed byte
otherData byte
salt byte
iterationCount int
리턴 bool

VerifyPbkdf2String() 공개 정적인 메소드

public static VerifyPbkdf2String ( this hash, string hashedString, string otherString, byte salt ) : bool
hash this
hashedString string
otherString string
salt byte
리턴 bool

VerifyPbkdf2String() 공개 정적인 메소드

public static VerifyPbkdf2String ( this hash, string hashedString, string otherString, byte salt, int iterationCount ) : bool
hash this
hashedString string
otherString string
salt byte
iterationCount int
리턴 bool

VerifyPbkdf2String() 공개 정적인 메소드

public static VerifyPbkdf2String ( this hash, string hashedString, string otherString, string saltString ) : bool
hash this
hashedString string
otherString string
saltString string
리턴 bool

VerifyPbkdf2String() 공개 정적인 메소드

public static VerifyPbkdf2String ( this hash, string hashedString, string otherString, string saltString, int iterationCount ) : bool
hash this
hashedString string
otherString string
saltString string
iterationCount int
리턴 bool