mirror of
https://bitbucket.org/Dennis07/lina-components.git
synced 2024-11-24 08:02:12 +02:00
39c0916f1c
Signed-off-by: Dennis07 <den.goehlert@t-online.de>
70 lines
943 B
ObjectPascal
70 lines
943 B
ObjectPascal
unit uCrypt;
|
|
|
|
//////////////////////////////////////
|
|
/// Lina Cryption Unit ///
|
|
/// **************************** ///
|
|
/// (c) 2014 Dennis Göhlert a.o. ///
|
|
//////////////////////////////////////
|
|
|
|
interface
|
|
|
|
uses
|
|
{ Standard-Units }
|
|
Classes;
|
|
|
|
type
|
|
TCrypt = class
|
|
private
|
|
{ Private-Deklarationen }
|
|
FLines: TStrings;
|
|
public
|
|
{ Public-Deklarationen }
|
|
constructor Create;
|
|
destructor Destroy;
|
|
property Lines: TStrings read FLines write FLines;
|
|
procedure Decrypt;
|
|
procedure Encrypt;
|
|
end;
|
|
|
|
{ Spezifische Kryptologie-Verfahren }
|
|
|
|
TXorCrypt = class(TCrypt)
|
|
|
|
end;
|
|
|
|
TVigenereCrypt = class(TCrypt)
|
|
|
|
end;
|
|
|
|
TCaesarCrypt = class(TCrypt)
|
|
|
|
end;
|
|
|
|
TDynaCrypt = class(TCrypt)
|
|
|
|
end;
|
|
|
|
implementation
|
|
|
|
constructor TCrypt.Create;
|
|
begin
|
|
//...
|
|
end;
|
|
|
|
destructor TCrypt.Destroy;
|
|
begin
|
|
//...
|
|
end;
|
|
|
|
procedure TCrypt.Decrypt;
|
|
begin
|
|
//...
|
|
end;
|
|
|
|
procedure TCrypt.Encrypt;
|
|
begin
|
|
//...
|
|
end;
|
|
|
|
end.
|