C# Класс SteamDesktopAuth.Crypto

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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