C# Class AutoPuTTY.cryptVNC

Show file Open project: r4dius/AutoPuTTY

Public Methods

Method Description
EncryptPassword ( string passwd ) : string
FixDESBug ( byte desKey ) : byte[]

VNC DES authentication has a bug, such that keys are reversed. This code was written by Dominic Ullmann ([email protected]) and is is being used under the GPL.

Method Details

EncryptPassword() public static method

public static EncryptPassword ( string passwd ) : string
passwd string
return string

FixDESBug() public static method

VNC DES authentication has a bug, such that keys are reversed. This code was written by Dominic Ullmann ([email protected]) and is is being used under the GPL.
public static FixDESBug ( byte desKey ) : byte[]
desKey byte The key to be altered.
return byte[]