C# 클래스 NZBDash.Common.Helpers.StringCipher

파일 보기 프로젝트 열기: NZBDash/NZBDash

공개 메소드들

메소드 설명
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