C# 클래스 Rainy.Crypto.CryptoHelperDBUser

파일 보기 프로젝트 열기: Dynalon/Rainy

공개 메소드들

메소드 설명
ComputePasswordHash ( this db_user, string password ) : string
CreateCryptoFields ( this db_user, string password ) : void
DecryptUnicodeString ( this user, byte key, byte ciphertext ) : string
DeriveKeyFromPassword ( this user, string password ) : byte[]
EncryptString ( this user, byte key, string plaintext ) : byte[]
GetPlaintextMasterKey ( this user, string password ) : byte[]
UpdatePassword ( this db_user, string password ) : bool

메소드 상세

ComputePasswordHash() 공개 정적인 메소드

public static ComputePasswordHash ( this db_user, string password ) : string
db_user this
password string
리턴 string

CreateCryptoFields() 공개 정적인 메소드

public static CreateCryptoFields ( this db_user, string password ) : void
db_user this
password string
리턴 void

DecryptUnicodeString() 공개 정적인 메소드

public static DecryptUnicodeString ( this user, byte key, byte ciphertext ) : string
user this
key byte
ciphertext byte
리턴 string

DeriveKeyFromPassword() 공개 정적인 메소드

public static DeriveKeyFromPassword ( this user, string password ) : byte[]
user this
password string
리턴 byte[]

EncryptString() 공개 정적인 메소드

public static EncryptString ( this user, byte key, string plaintext ) : byte[]
user this
key byte
plaintext string
리턴 byte[]

GetPlaintextMasterKey() 공개 정적인 메소드

public static GetPlaintextMasterKey ( this user, string password ) : byte[]
user this
password string
리턴 byte[]

UpdatePassword() 공개 정적인 메소드

public static UpdatePassword ( this db_user, string password ) : bool
db_user this
password string
리턴 bool