| 1 |
{******************************************************************************} |
| 2 |
{* DCPcrypt v2.0 written by David Barton ([email protected]) **********} |
| 3 |
{******************************************************************************} |
| 4 |
{* Constants for use with DCPcrypt ********************************************} |
| 5 |
{******************************************************************************} |
| 6 |
{* Copyright (c) 1999-2002 David Barton *} |
| 7 |
{* Permission is hereby granted, free of charge, to any person obtaining a *} |
| 8 |
{* copy of this software and associated documentation files (the "Software"), *} |
| 9 |
{* to deal in the Software without restriction, including without limitation *} |
| 10 |
{* the rights to use, copy, modify, merge, publish, distribute, sublicense, *} |
| 11 |
{* and/or sell copies of the Software, and to permit persons to whom the *} |
| 12 |
{* Software is furnished to do so, subject to the following conditions: *} |
| 13 |
{* *} |
| 14 |
{* The above copyright notice and this permission notice shall be included in *} |
| 15 |
{* all copies or substantial portions of the Software. *} |
| 16 |
{* *} |
| 17 |
{* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *} |
| 18 |
{* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *} |
| 19 |
{* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *} |
| 20 |
{* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *} |
| 21 |
{* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *} |
| 22 |
{* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *} |
| 23 |
{* DEALINGS IN THE SOFTWARE. *} |
| 24 |
{******************************************************************************} |
| 25 |
unit DCPconst; |
| 26 |
|
| 27 |
interface |
| 28 |
|
| 29 |
{******************************************************************************} |
| 30 |
const |
| 31 |
{ Component registration } |
| 32 |
DCPcipherpage = 'DCPciphers'; |
| 33 |
DCPhashpage = 'DCPhashes'; |
| 34 |
|
| 35 |
{ ID values } |
| 36 |
DCP_rc2 = 1; |
| 37 |
DCP_sha1 = 2; |
| 38 |
DCP_rc5 = 3; |
| 39 |
DCP_rc6 = 4; |
| 40 |
DCP_blowfish = 5; |
| 41 |
DCP_twofish = 6; |
| 42 |
DCP_cast128 = 7; |
| 43 |
DCP_gost = 8; |
| 44 |
DCP_rijndael = 9; |
| 45 |
DCP_ripemd160 = 10; |
| 46 |
DCP_misty1 = 11; |
| 47 |
DCP_idea = 12; |
| 48 |
DCP_mars = 13; |
| 49 |
DCP_haval = 14; |
| 50 |
DCP_cast256 = 15; |
| 51 |
DCP_md5 = 16; |
| 52 |
DCP_md4 = 17; |
| 53 |
DCP_tiger = 18; |
| 54 |
DCP_rc4 = 19; |
| 55 |
DCP_ice = 20; |
| 56 |
DCP_thinice = 21; |
| 57 |
DCP_ice2 = 22; |
| 58 |
DCP_des = 23; |
| 59 |
DCP_3des = 24; |
| 60 |
DCP_tea = 25; |
| 61 |
DCP_serpent = 26; |
| 62 |
DCP_ripemd128 = 27; |
| 63 |
DCP_sha256 = 28; |
| 64 |
DCP_sha384 = 29; |
| 65 |
DCP_sha512 = 30; |
| 66 |
DCP_checksum32 = 93; |
| 67 |
DCP_blake3 = 94; |
| 68 |
DCP_blake2bp = 95; |
| 69 |
DCP_blake2b = 96; |
| 70 |
DCP_blake2s = 97; |
| 71 |
DCP_blake2sp = 98; |
| 72 |
DCP_crc32 = 99; |
| 73 |
|
| 74 |
|
| 75 |
{******************************************************************************} |
| 76 |
{******************************************************************************} |
| 77 |
implementation |
| 78 |
|
| 79 |
end. |