C# 클래스 Keyczar.Crypter

Used to encrypt or decrypt data using a given key set.
상속: Encrypter
파일 보기 프로젝트 열기: jbtule/keyczar-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
Crypter ( IKeySet keySet ) : System

Initializes a new instance of the Crypter class.

Crypter ( string keySetLocation ) : System

Initializes a new instance of the Crypter class.

Decrypt ( byte data ) : byte[]

Decrypts the specified data.

Decrypt ( WebBase64 data ) : string

Decrypts the specified data.

Decrypt ( Stream input, Stream output, long inputLength = -1 ) : void

Decrypts the specified input.

메소드 상세

Crypter() 공개 메소드

Initializes a new instance of the Crypter class.
public Crypter ( IKeySet keySet ) : System
keySet IKeySet The key set.
리턴 System

Crypter() 공개 메소드

Initializes a new instance of the Crypter class.
public Crypter ( string keySetLocation ) : System
keySetLocation string The key set location.
리턴 System

Decrypt() 공개 메소드

Decrypts the specified data.
public Decrypt ( byte data ) : byte[]
data byte The data.
리턴 byte[]

Decrypt() 공개 메소드

Decrypts the specified data.
public Decrypt ( WebBase64 data ) : string
data WebBase64 The data.
리턴 string

Decrypt() 공개 메소드

Decrypts the specified input.
Ciphertext was invalid!
public Decrypt ( Stream input, Stream output, long inputLength = -1 ) : void
input Stream The input.
output Stream The output.
inputLength long (optional) Length of the input.
리턴 void