C# Class CEncryption, swip3

ファイルを表示 Open project: unit9/swip3 Class Usage Examples

Public Methods

Method Description
Scramble ( string text ) : string
Unscramble ( string text ) : string
Xor ( byte clearTextBytes ) : byte[]

Private Methods

Method Description
GenKey ( int length ) : byte[]
GetBytes ( string str ) : byte[]
GetString ( byte bytes ) : string

Method Details

Scramble() public static method

public static Scramble ( string text ) : string
text string
return string

Unscramble() public static method

public static Unscramble ( string text ) : string
text string
return string

Xor() public static method

public static Xor ( byte clearTextBytes ) : byte[]
clearTextBytes byte
return byte[]