source: www/manuals/PHP_manual/function.mcrypt-enc-get-algorithms-name.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 3.1 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>mcrypt_enc_get_algorithms_name</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Mcrypt Encryption Functions"
13HREF="ref.mcrypt.html"><LINK
14REL="PREVIOUS"
15TITLE="mcrypt_ecb"
16HREF="function.mcrypt-ecb.html"><LINK
17REL="NEXT"
18TITLE="mcrypt_enc_get_block_size"
19HREF="function.mcrypt-enc-get-block-size.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.mcrypt-ecb.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.mcrypt-enc-get-block-size.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.mcrypt-enc-get-algorithms-name"
75></A
76>mcrypt_enc_get_algorithms_name</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN44930"
81></A
82><P
83> (PHP 4 &#62;= 4.0.2)</P
84>mcrypt_enc_get_algorithms_name&nbsp;--&nbsp;Returns the name of the opened algorithm</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN44933"
89></A
90><H2
91>Description</H2
92>string <B
93CLASS="methodname"
94>mcrypt_enc_get_algorithms_name</B
95> ( resource td)<BR
96></BR
97><P
98>&#13; This function returns the name of the algorithm.
99 </P
100><P
101>&#13; <TABLE
102WIDTH="100%"
103BORDER="0"
104CELLPADDING="0"
105CELLSPACING="0"
106CLASS="EXAMPLE"
107><TR
108><TD
109><DIV
110CLASS="example"
111><A
112NAME="AEN44943"
113></A
114><P
115><B
116>Pøíklad 1. <B
117CLASS="function"
118>mcrypt_enc_get_algorithms_name()</B
119> example</B
120></P
121><TABLE
122BORDER="0"
123BGCOLOR="#E0E0E0"
124CELLPADDING="5"
125><TR
126><TD
127><PRE
128CLASS="php"
129>&#60;?php
130 $td = mcrypt_module_open (MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, '');
131 echo mcrypt_enc_get_algorithms_name($td). "\n";
132
133 $td = mcrypt_module_open ('cast-256', '', MCRYPT_MODE_CFB, '');
134 echo mcrypt_enc_get_algorithms_name($td). "\n";
135?&#62;
136
137Prints:
138CAST-256
139CAST-256</PRE
140></TD
141></TR
142></TABLE
143></DIV
144></TD
145></TR
146></TABLE
147>
148 </P
149></DIV
150><DIV
151CLASS="NAVFOOTER"
152><HR
153ALIGN="LEFT"
154WIDTH="100%"><TABLE
155SUMMARY="Footer navigation table"
156WIDTH="100%"
157BORDER="0"
158CELLPADDING="0"
159CELLSPACING="0"
160><TR
161><TD
162WIDTH="33%"
163ALIGN="left"
164VALIGN="top"
165><A
166HREF="function.mcrypt-ecb.html"
167ACCESSKEY="P"
168>Pøedcházející</A
169></TD
170><TD
171WIDTH="34%"
172ALIGN="center"
173VALIGN="top"
174><A
175HREF="index.html"
176ACCESSKEY="H"
177>Domù</A
178></TD
179><TD
180WIDTH="33%"
181ALIGN="right"
182VALIGN="top"
183><A
184HREF="function.mcrypt-enc-get-block-size.html"
185ACCESSKEY="N"
186>Dal¹í</A
187></TD
188></TR
189><TR
190><TD
191WIDTH="33%"
192ALIGN="left"
193VALIGN="top"
194>mcrypt_ecb</TD
195><TD
196WIDTH="34%"
197ALIGN="center"
198VALIGN="top"
199><A
200HREF="ref.mcrypt.html"
201ACCESSKEY="U"
202>Nahoru</A
203></TD
204><TD
205WIDTH="33%"
206ALIGN="right"
207VALIGN="top"
208>mcrypt_enc_get_block_size</TD
209></TR
210></TABLE
211></DIV
212></BODY
213></HTML
214>
Note: See TracBrowser for help on using the repository browser.