C# 클래스 SteamDesktopAuth.Crypto

파일 보기 프로젝트 열기: Ezzpify/SteamAuthenticator

공개 프로퍼티들

프로퍼티 타입 설명
crySalt byte[]
crySecret string

공개 메소드들

메소드 설명
DecryptStringAES ( string cipherText ) : string

Decrypt the given string. Assumes the string was encrypted using EncryptStringAES(), using an identical sharedSecret.

EncryptStringAES ( string plainText ) : string

Encrypt the given string using AES. The string can be decrypted using DecryptStringAES(). The sharedSecret parameters must match.

비공개 메소드들

메소드 설명
ReadByteArray ( Stream s ) : byte[]

Reads barr from stream

메소드 상세

DecryptStringAES() 공개 정적인 메소드

Decrypt the given string. Assumes the string was encrypted using EncryptStringAES(), using an identical sharedSecret.
public static DecryptStringAES ( string cipherText ) : string
cipherText string The text to decrypt.
리턴 string

EncryptStringAES() 공개 정적인 메소드

Encrypt the given string using AES. The string can be decrypted using DecryptStringAES(). The sharedSecret parameters must match.
public static EncryptStringAES ( string plainText ) : string
plainText string The text to encrypt.
리턴 string

프로퍼티 상세

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

public static byte[] crySalt
리턴 byte[]

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

General variables
public static string crySecret
리턴 string