C# Class Jackett.Utils.StringCipher

Datei anzeigen Open project: WarlaxZ/Jackett

Public Methods

Method Description
Decrypt ( string cipherText, string passPhrase ) : string
Encrypt ( string plainText, string passPhrase ) : string

Private Methods

Method Description
Generate256BitsOfRandomEntropy ( ) : byte[]

Method Details

Decrypt() public static method

public static Decrypt ( string cipherText, string passPhrase ) : string
cipherText string
passPhrase string
return string

Encrypt() public static method

public static Encrypt ( string plainText, string passPhrase ) : string
plainText string
passPhrase string
return string