C# Класс NZBDash.Common.Helpers.StringCipher

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

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

Метод Описание
Decrypt ( string cipherText, string passPhrase ) : string

Decrypts the specified cipher text.

Encrypt ( string plainText, string passPhrase ) : string

Encrypts the specified plain text.

Приватные методы

Метод Описание
Generate256BitsOfRandomEntropy ( ) : byte[]

Generate256s the bits of random entropy.

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

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

Decrypts the specified cipher text.
public static Decrypt ( string cipherText, string passPhrase ) : string
cipherText string The cipher text.
passPhrase string The pass phrase.
Результат string

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

Encrypts the specified plain text.
public static Encrypt ( string plainText, string passPhrase ) : string
plainText string The plain text.
passPhrase string The pass phrase.
Результат string