: AnsiString; stdcall;///расшіфроватьEncrypt (const S: AnsiString; Key: Word): AnsiString ; stdcall;///зашифрувати = 52845; = 22719; Decode (const S: AnsiString): AnsiString;: array [Char] of Byte = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 63, 52, 53,
, 55, 56, 57, 58, 59, 60, 61, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2,
, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 26, 27, 28, 29, 30,
, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
, 47, 48, 49, 50, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
);: LongInt; Length (S) of
:: = Map [S [1]] + (Map [S [2]] shl 6); (Result, 1); (I, Result [1], Length (Result)) ;
:: = Map [S [1]] + (Map [S [2]] shl 6) + (Map [S [3]] shl 12); (Result, 2); ( I, Result [1], Length (Result));
:: = Map [S [1]] + (Map [S [2]] shl 6) + (Map [S [3]] shl 12) +
(Map [S [4]] shl 18); (Result, 3); (I, Result [1], Length (Result)); PreProcess (const S: AnsiString): AnsiString; : AnsiString;: = S;: =''; SS <>'' do: = Result + Decode (Copy (SS, 1, 4)); (SS, 1, 4); InternalDecrypt (const S: AnsiString ; Key: Word): AnsiString;: Word;: Word;: = S;: = Key; I: = 1 to Length (Result) do [I]: = Char (Byte (Result [I]) xor (Seed shr 8));: = (Byte (S [I]) + Seed) * Word (C1) + Word (C2); Decrypt (const S: AnsiString; Key: Word): AnsiString;: = InternalDecrypt (PreProcess (S) , Key); Encode (const S: AnsiString): AnsiString;: array [0 .. 63] of Char = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' +
'abcdefghijklmnopqrstuvwxyz0123456789 + /';: LongInt;: = 0; (S [1], I, Length (S)); Length (S) of
:: = Map [I mod 64] + Map [(I shr 6) mod 64];
:: = Map [I mod 64] + Map [(I shr 6) mod 64] + [(I shr 12) mod 64];
:: = Map [I mod 64] + Map [(I shr 6) mod 64] + [(I shr 12) mod 64] + Map [(I shr 18) mod 64]; PostProcess (const S: AnsiString): AnsiString;: AnsiString;: = S;: =''; SS <>'' do: = Result + Encode (Copy (SS, 1, 3)); (SS, 1 , 3); InternalEncrypt (const S: AnsiString; Key: Word)...