C# Class EncryptionAlgorithms.RailFence

Inheritance: SecurityAlgorithm
显示文件 Open project: Omar-Salem/Classical-Encryption-Techniques

Public Methods

Method Description
Decrypt ( string cipherText ) : string
Encrypt ( string plainText ) : string
RailFence ( int key ) : System

Private Methods

Method Description
FillArray ( string message, int rowsCount, int columnsCount, Mode mode ) : ].char[
Process ( string message, Mode mode ) : string

Method Details

Decrypt() public method

public Decrypt ( string cipherText ) : string
cipherText string
return string

Encrypt() public method

public Encrypt ( string plainText ) : string
plainText string
return string

RailFence() public method

public RailFence ( int key ) : System
key int
return System