C# 클래스 ChargedMinersLauncher.PasswordSecurity

Provides simple symmetric AES-256 encryption for passwords.
파일 보기 프로젝트 열기: Charged/MinersLauncher 1 사용 예제들

공개 메소드들

메소드 설명
DecryptPassword ( string encryptedString ) : string
EncryptPassword ( string rawPassword ) : string
EncryptionTest ( int runs ) : void

비공개 메소드들

메소드 설명
ComputeChecksum ( byte bytes, int offset, int length ) : ushort
GetRandomString ( ) : string
InitCrc16 ( ) : void
PasswordSecurity ( ) : System

메소드 상세

DecryptPassword() 공개 정적인 메소드

public static DecryptPassword ( string encryptedString ) : string
encryptedString string
리턴 string

EncryptPassword() 공개 정적인 메소드

public static EncryptPassword ( string rawPassword ) : string
rawPassword string
리턴 string

EncryptionTest() 공개 정적인 메소드

public static EncryptionTest ( int runs ) : void
runs int
리턴 void