| Class TAISQuickPW (unit Quickpw) |
TComponent
| Constructors |
constructor Create(AOwner:TComponent);| Functions |
function CreatePassword : String;
destructor Destroy;
function ValidatePassword(PWord: String) : boolean;
function IsValidSelections : Boolean;
function ReturnPW(CreatingPassword: Boolean) : String;| Properties |
property LengthPassword : integer
property SortMethod : TSortType
property TimeZoneHours : integer
property UserName : string| Events |
| Variables |
FLengthPassword : integer;
FSortMethod : TSortType;
FTimeZoneHours : integer;
FUserName : string;| Constructors |
constructor Create(AOwner:TComponent);Protected declarations
| Functions |
function CreatePassword : String;
destructor Destroy;
function ValidatePassword(PWord: String) : boolean;Default if error
function IsValidSelections : Boolean;Multiply name dependent number by date dependent number to get a unique value for every day of the year for each user. Multiply this by a random multiplier (const value) to ensure that a fraction always results. Take FLengthPassword digits of fraction as the final password. Note that if the fractional portion works out to less digits than FLengthPassword, a password with less digits than FLengthPassword will result. Program will still create/validate passwords normally.
function ReturnPW(CreatingPassword: Boolean) : String;This function generates the password.
| Properties |
property LengthPassword : integerThe longer the LengthPassword property is, the more secure the password
property SortMethod : TSortType
property TimeZoneHours : integerThe number of hours away, + or -, of the users timezone. 0 is default
property UserName : stringUsername must be identical on user & administrator ends
| Events |
| Variables |
FLengthPassword : integer;
FSortMethod : TSortType;
FTimeZoneHours : integer;
FUserName : string;