source: trunk/Packages/synapse/docs/help/synacrypt.html

Last change on this file was 2, checked in by chronos, 12 years ago
  • Přidáno: Základní kostra projektu.
  • Přidáno: Knihovna synapse.
File size: 5.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
2<html>
3<head>
4<meta name="GENERATOR" content="PasDoc 0.9.0">
5<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6<title>synacrypt</title>
7<link rel="StyleSheet" type="text/css" href="pasdoc.css">
8</head>
9<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
10<h1 class="unit">Unit synacrypt</h1>
11<table class="sections">
12<tr>
13<td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td><a class="section" href="#@Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td><a class="section" href="#@Constants">Constants</a></td><td>Variables</td></tr></table>
14<a name="@Description"></a><h2 class="description">Description</h2>
15<p>
16Encryption support</p>
17<p>
18
19
20<p>Implemented are DES and 3DES encryption/decryption by ECB, CBC, CFB-8bit, CFB-block, OFB and CTR methods.</p>
21<a name="@Uses"></a><h2 class="uses">uses</h2>
22<ul class="useslist"><li>SysUtils</li><li>Classes</li><li><a href="synautil.html">synautil</a></li><li><a href="synafpc.html">synafpc</a></li></ul><h2 class="overview">Overview</h2>
23<a name="@Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
24<table class="classestable">
25<tr class="listheader">
26<th class="itemname">Name</th>
27<th class="itemdesc">Description</th>
28</tr>
29<tr class="list">
30<td class="itemname">Class&nbsp;<a class="bold" href="synacrypt.TSynaBlockCipher.html"><code>TSynaBlockCipher</code></a></td>
31<td class="itemdesc">Implementation of common routines block ciphers (dafault size is 64-bits)</td>
32</tr>
33<tr class="list2">
34<td class="itemname">Class&nbsp;<a class="bold" href="synacrypt.TSynaCustomDes.html"><code>TSynaCustomDes</code></a></td>
35<td class="itemdesc">Implementation of common routines for DES encryption</td>
36</tr>
37<tr class="list">
38<td class="itemname">Class&nbsp;<a class="bold" href="synacrypt.TSynaDes.html"><code>TSynaDes</code></a></td>
39<td class="itemdesc">Implementation of DES encryption</td>
40</tr>
41<tr class="list2">
42<td class="itemname">Class&nbsp;<a class="bold" href="synacrypt.TSyna3Des.html"><code>TSyna3Des</code></a></td>
43<td class="itemdesc">Implementation of 3DES encryption</td>
44</tr>
45<tr class="list">
46<td class="itemname">Class&nbsp;<a class="bold" href="synacrypt.TSynaAes.html"><code>TSynaAes</code></a></td>
47<td class="itemdesc">Implementation of AES encryption</td>
48</tr>
49</table>
50<a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
51<table class="summary">
52<tr class="list">
53<td class="itemcode"><code>function <b><a href="synacrypt.html#TestDes">TestDes</a></b>: boolean;</code></td>
54</tr>
55<tr class="list2">
56<td class="itemcode"><code>function <b><a href="synacrypt.html#Test3Des">Test3Des</a></b>: boolean;</code></td>
57</tr>
58<tr class="list">
59<td class="itemcode"><code>function <b><a href="synacrypt.html#TestAes">TestAes</a></b>: boolean;</code></td>
60</tr>
61</table>
62<a name="@Types"></a><h3 class="summary">Types</h3>
63<table class="summary">
64<tr class="list">
65<td class="itemcode"><code><b><a href="synacrypt.html#TDesKeyData">TDesKeyData</a></b> = array[0..31] of integer;</code></td>
66</tr>
67</table>
68<a name="@Constants"></a><h3 class="summary">Constants</h3>
69<table class="summary">
70<tr class="list">
71<td class="itemcode"><code><b><a href="synacrypt.html#BC">BC</a></b> = 4;</code></td>
72</tr>
73<tr class="list2">
74<td class="itemcode"><code><b><a href="synacrypt.html#MAXROUNDS">MAXROUNDS</a></b> = 14;</code></td>
75</tr>
76</table>
77<h2 class="description">Description</h2>
78<h3 class="detail">Functions and Procedures</h3>
79<table class="detail">
80<tr class="list">
81<td class="itemcode"><a name="TestDes"></a><code>function <b>TestDes</b>: boolean;</code></td>
82</tr>
83</table>
84<p>
85Call internal test of all DES encryptions. Returns <code>True</code> if all is OK.</p>
86<table class="detail">
87<tr class="list">
88<td class="itemcode"><a name="Test3Des"></a><code>function <b>Test3Des</b>: boolean;</code></td>
89</tr>
90</table>
91<p>
92Call internal test of all 3DES encryptions. Returns <code>True</code> if all is OK.</p>
93<table class="detail">
94<tr class="list">
95<td class="itemcode"><a name="TestAes"></a><code>function <b>TestAes</b>: boolean;</code></td>
96</tr>
97</table>
98<p>
99Call internal test of all AES encryptions. Returns <code>True</code> if all is OK.</p>
100<h3 class="detail">Types</h3>
101<table class="detail">
102<tr class="list">
103<td class="itemcode"><a name="TDesKeyData"></a><code><b>TDesKeyData</b> = array[0..31] of integer;</code></td>
104</tr>
105</table>
106<p>
107Datatype for holding one DES key data</p>
108<p>
109
110
111<p>This data type is used internally.</p>
112<h3 class="detail">Constants</h3>
113<table class="detail">
114<tr class="list">
115<td class="itemcode"><a name="BC"></a><code><b>BC</b> = 4;</code></td>
116</tr>
117</table>
118&nbsp;<table class="detail">
119<tr class="list">
120<td class="itemcode"><a name="MAXROUNDS"></a><code><b>MAXROUNDS</b> = 14;</code></td>
121</tr>
122</table>
123&nbsp;<hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:52</em>
124</span>
125</body></html>
Note: See TracBrowser for help on using the repository browser.