C# Class Rainy.Crypto.CryptoHelper

Afficher le fichier Open project: Dynalon/Rainy

Méthodes publiques

Méthode Description
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

Method Details

Create256BitLowerCaseHexKey() public static méthode

public static Create256BitLowerCaseHexKey ( this crypto ) : string
crypto this
Résultat string

DecryptWithKey() public static méthode

public static DecryptWithKey ( this ciphertext, string hexkey, string iv ) : string
ciphertext this
hexkey string
iv string
Résultat string

EncryptWithKey() public static méthode

public static EncryptWithKey ( this plaintext, string hexkey, string iv ) : string
plaintext this
hexkey string
iv string
Résultat string

ToByteArray() public static méthode

public static ToByteArray ( this text ) : byte[]
text this
Résultat byte[]

ToHexString() public static méthode

public static ToHexString ( this bytes ) : string
bytes this
Résultat string