Class TAISQuickPW (unit Quickpw) |
Inherits from
TComponent
constructor Create(AOwner:TComponent);
- Protected declarations
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.
function ReturnPW(CreatingPassword: Boolean) : String;
This function generates the password.
property LengthPassword : integer
The longer the LengthPassword property is, the more secure the password
property SortMethod : TSortType
property TimeZoneHours : integer
The number of hours away, + or -, of the users timezone.
property UserName : string
Username must be identical on user & administrator ends
FLengthPassword : integer;
FSortMethod : TSortType;
FTimeZoneHours : integer;
FUserName : string;
constructor Create(AOwner:TComponent);
Protected declarations
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.
property LengthPassword : integer
The longer the LengthPassword property is, the more secure the password
property SortMethod : TSortType
property TimeZoneHours : integer
The number of hours away, + or -, of the users timezone. 0 is default
property UserName : string
Username must be identical on user & administrator ends
FLengthPassword : integer;
FSortMethod : TSortType;
FTimeZoneHours : integer;
FUserName : string;