C# Класс Rainy.Crypto.CryptoHelper

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

Открытые методы

Метод Описание
Create256BitLowerCaseHexKey ( this crypto ) : string
DecryptWithKey ( this ciphertext, string hexkey, string iv ) : string
EncryptWithKey ( this plaintext, string hexkey, string iv ) : string
ToByteArray ( this text ) : byte[]
ToHexString ( this bytes ) : string

Описание методов

Create256BitLowerCaseHexKey() публичный статический Метод

public static Create256BitLowerCaseHexKey ( this crypto ) : string
crypto this
Результат string

DecryptWithKey() публичный статический Метод

public static DecryptWithKey ( this ciphertext, string hexkey, string iv ) : string
ciphertext this
hexkey string
iv string
Результат string

EncryptWithKey() публичный статический Метод

public static EncryptWithKey ( this plaintext, string hexkey, string iv ) : string
plaintext this
hexkey string
iv string
Результат string

ToByteArray() публичный статический Метод

public static ToByteArray ( this text ) : byte[]
text this
Результат byte[]

ToHexString() публичный статический Метод

public static ToHexString ( this bytes ) : string
bytes this
Результат string