Debian Codegraph @

po/ar/man3/crypt.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
9 "PO-Revision-Date: 2026-06-01 17:55+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: Dd
21 #: debian-trixie debian-unstable
22 #, no-wrap
23 msgid "October 11, 2017"
24 msgstr "11 أكتوبر 2017"
25
26 #. type: Dt
27 #: debian-trixie debian-unstable
28 #, no-wrap
29 msgid "CRYPT 3"
30 msgstr "CRYPT 3"
31
32 #. type: Os
33 #: debian-trixie debian-unstable
34 #, no-wrap
35 msgid "Openwall Project"
36 msgstr "مشروع Openwall"
37
38 #. type: Sh
39 #: debian-trixie debian-unstable
40 #, no-wrap
41 msgid "NAME"
42 msgstr "الاسم"
43
44 #. type: Plain text
45 #: debian-trixie debian-unstable
46 msgid "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
47 msgstr "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>"
48
49 #. type: Nd
50 #: debian-trixie debian-unstable
51 #, no-wrap
52 msgid "passphrase hashing"
53 msgstr "تجزئة عبارة السر"
54
55 #. type: Sh
56 #: debian-trixie debian-unstable
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: debian-trixie debian-unstable
63 msgid "E<.Lb libcrypt>"
64 msgstr "E<.Lb libcrypt>"
65
66 #. type: Sh
67 #: debian-trixie debian-unstable
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "موجز"
71
72 #. type: In
73 #: debian-trixie debian-unstable
74 #, no-wrap
75 msgid "crypt.h"
76 msgstr "crypt.h"
77
78 #. type: Plain text
79 #: debian-trixie debian-unstable
80 msgid ""
81 "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
82 "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
83 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
84 "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
85 "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
86 "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
87 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
88 "*size\"> E<.Fc>"
89 msgstr ""
90 "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const "
91 "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char "
92 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> "
93 "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa "
94 "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int "
95 "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char "
96 "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int "
97 "*size\"> E<.Fc>"
98
99 #. type: Sh
100 #: debian-trixie debian-unstable
101 #, no-wrap
102 msgid "DESCRIPTION"
103 msgstr "الوصف"
104
105 #. type: Plain text
106 #: debian-trixie debian-unstable
107 msgid ""
108 "The E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> "
109 "functions irreversibly E<.Dq hash> E<.Fa phrase> for storage in the system "
110 "password database E<.Pq Xr shadow 5> using a cryptographic E<.Dq hashing "
111 "method.> The result of this operation is called a E<.Dq hashed passphrase> "
112 "or just a E<.Dq hash.> Hashing methods are described in E<.Xr crypt 5>."
113 msgstr ""
114 "الدوال E<.Nm crypt> و E<.Nm crypt_r> و E<.Nm crypt_rn> و E<.Nm crypt_ra> "
115 "تقوم بتجزئة E<.Fa phrase> بشكل لا رجعة فيه للتخزين في قاعدة بيانات كلمات "
116 "السر النظامية E<.Pq Xr shadow 5> باستخدام E<.Dq طريقة تجزئة> تعمية. تُسمى "
117 "نتيجة هذه العملية E<.Dq عبارة سر مُجزأة> أو ببساطة E<.Dq تجزئة.> تُوصف طرق "
118 "التجزئة في E<.Xr crypt 5>."
119
120 #. type: Plain text
121 #: debian-trixie debian-unstable
122 msgid ""
123 "E<.Fa setting> controls which hashing method to use, and also supplies "
124 "various parameters to the chosen method, most importantly a random E<.Dq "
125 "salt> which ensures that no two stored hashes are the same, even if the E<."
126 "Fa phrase> strings are the same."
127 msgstr ""
128 "يتحكم E<.Fa setting> في طريقة التجزئة المستخدمة، ويوفر أيضًا معاملات مختلفة "
129 "للطريقة المختارة، وأهمها E<.Dq ملح> عشوائي يضمن عدم تطابق أي تجزئتين "
130 "مخزنتين، حتى لو كانت سلسلتا محارف E<.Fa phrase> متماثلتين."
131
132 #. type: Plain text
133 #: debian-trixie debian-unstable
134 msgid ""
135 "The E<.Fa data> argument to E<.Nm crypt_r> is a structure of type E<.Vt "
136 "\"struct crypt_data\">. It has at least these fields:"
137 msgstr ""
138 "وسيط E<.Fa data> للدالة E<.Nm crypt_r> هو بنية من النوع E<.Vt \"struct "
139 "crypt_data\">. تحتوي على الأقل على هذه الحقول:"
140
141 #. type: Plain text
142 #: debian-trixie debian-unstable
143 #, no-wrap
144 msgid ""
145 "struct crypt_data {\n"
146 " char output[CRYPT_OUTPUT_SIZE];\n"
147 " char setting[CRYPT_OUTPUT_SIZE];\n"
148 " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
149 " char initialized;\n"
150 "};\n"
151 msgstr ""
152 "struct crypt_data {\n"
153 " char output[CRYPT_OUTPUT_SIZE];\n"
154 " char setting[CRYPT_OUTPUT_SIZE];\n"
155 " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n"
156 " char initialized;\n"
157 "};\n"
158
159 #. type: Plain text
160 #: debian-trixie debian-unstable
161 msgid ""
162 "Upon a successful return from E<.Nm crypt_r>, the hashed passphrase will be "
163 "stored in E<.Fa output>. Applications are encouraged, but not required, to "
164 "use the E<.Fa input> and E<.Fa setting> fields to store the strings that "
165 "they will pass as E<.Fa input phrase> and E<.Fa setting> to E<.Nm crypt_r>. "
166 "This will make it easier to erase all sensitive data after it is no longer "
167 "needed."
168 msgstr ""
169 "عند العودة بنجاح من E<.Nm crypt_r>، تُخزَّن عبارة السر المُجزأة في E<.Fa "
170 "output>. يُشجَّع التطبيقات، ولكن ليس إلزاميًا، على استخدام حقلي E<.Fa input> و "
171 "E<.Fa setting> لتخزين السلاسل التي ستمررها كـ E<.Fa input phrase> و E<.Fa "
172 "setting> إلى E<.Nm crypt_r>. هذا يسهل مسح جميع البيانات الحساسة بعد عدم "
173 "الحاجة إليها."
174
175 #. type: Plain text
176 #: debian-trixie debian-unstable
177 msgid ""
178 "The E<.Fa initialized> field must be set to zero before the first time a E<."
179 "Vt \"struct crypt_data\"> object is first used in a call to E<.Fn crypt_r>. "
180 "We recommend zeroing the entire object, not just E<.Fa initialized> and not "
181 "just the documented fields, before the first use. (Of course, do this "
182 "before storing anything in E<.Fa setting> and E<.Fa input>.)"
183 msgstr ""
184 "يجب ضبط حقل E<.Fa initialized> على الصفر قبل أول استخدام لكائن E<.Vt "
185 "\"struct crypt_data\"> في استدعاء لـ E<.Fn crypt_r>. نوصي بتصفير الكائن "
186 "بأكمله، وليس فقط E<.Fa initialized> وليس فقط الحقول الموثقة، قبل الاستخدام "
187 "الأول. (بالطبع، افعل هذا قبل تخزين أي شيء في E<.Fa setting> و E<.Fa input>.)"
188
189 #. type: Plain text
190 #: debian-trixie debian-unstable
191 msgid ""
192 "The E<.Fa data> argument to E<.Nm crypt_rn> should also point to a E<.Vt "
193 "\"struct crypt_data\"> object, and E<.Fa size> should be the size of that "
194 "object, cast to E<.Vt int>. When used with E<.Nm crypt_rn>, the entire E<."
195 "Fa data> object (except for the E<.Fa input> and E<.Fa setting> fields) must "
196 "be zeroed before its first use; this is not just a recommendation, as it is "
197 "for E<.Nm crypt_r>. Otherwise, the fields of the object have the same uses "
198 "that they do for E<.Nm crypt_r>."
199 msgstr ""
200 "يجب أن يشير وسيط E<.Fa data> للدالة E<.Nm crypt_rn> أيضًا إلى كائن E<.Vt "
201 "\"struct crypt_data\">، ويجب أن يكون E<.Fa size> هو حجم ذلك الكائن، محولاً "
202 "إلى E<.Vt int>. عند استخدامه مع E<.Nm crypt_rn>، يجب تصفير كائن E<.Fa data> "
203 "بأكمله (باستثناء حقلي E<.Fa input> و E<.Fa setting>) قبل استخدامه الأول؛ هذه "
204 "ليست مجرد توصية، كما هو الحال مع E<.Nm crypt_r>. بخلاف ذلك، لحقول الكائن نفس "
205 "الاستخدامات التي لها مع E<.Nm crypt_r>."
206
207 #. type: Plain text
208 #: debian-trixie debian-unstable
209 msgid ""
210 "On the first call to E<.Nm crypt_ra>, E<.Fa data> should be the address of a "
211 "E<.Vt \"void *\"> variable set to NULL, and E<.Fa size> should be the "
212 "address of an E<.Vt int> variable set to zero. E<.Nm crypt_ra> will "
213 "allocate and initialize a E<.Vt \"struct crypt_data\"> object, using E<.Xr "
214 "malloc 3>, and write its address and size into the variables pointed to by "
215 "E<.Fa data> and E<.Fa size>. These can be reused in subsequent calls. "
216 "After the application is done hashing passphrases, it should deallocate the "
217 "E<.Vt \"struct crypt_data\"> object using E<.Xr free 3>."
218 msgstr ""
219 "في أول استدعاء لـ E<.Nm crypt_ra>، يجب أن يكون E<.Fa data> عنوان متغير من "
220 "النوع E<.Vt \"void *\"> مضبوط على NULL، ويجب أن يكون E<.Fa size> عنوان متغير "
221 "من النوع E<.Vt int> مضبوط على الصفر. ستقوم E<.Nm crypt_ra> بتخصيص وتهيئة "
222 "كائن E<.Vt \"struct crypt_data\">، باستخدام E<.Xr malloc 3>، وكتابة عنوانه "
223 "وحجمه في المتغيرين المشار إليهما بواسطة E<.Fa data> و E<.Fa size>. يمكن "
224 "إعادة استخدام هذه في الاستدعاءات اللاحقة. بعد انتهاء التطبيق من تجزئة عبارات "
225 "السر، يجب تحرير كائن E<.Vt \"struct crypt_data\"> باستخدام E<.Xr free 3>."
226
227 #. type: Sh
228 #: debian-trixie debian-unstable
229 #, no-wrap
230 msgid "RETURN VALUES"
231 msgstr "القيم المُرجعة"
232
233 #. type: Plain text
234 #: debian-trixie debian-unstable
235 msgid ""
236 "Upon successful completion, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, "
237 "and E<.Nm crypt_ra> return a pointer to a string which encodes both the "
238 "hashed passphrase, and the settings that were used to encode it. This "
239 "string is directly usable as E<.Fa setting> in other calls to E<.Nm crypt>, "
240 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra>, and as E<.Fa prefix> "
241 "in calls to E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn>, and E<.Nm "
242 "crypt_gensalt_ra>. It will be entirely printable ASCII, and will not "
243 "contain whitespace or the characters E<.Sq Li \\&:>, E<.Sq Li \\&;>, E<.Sq "
244 "Li \\&*>, E<.Sq Li \\&!>, or E<.Sq Li \\&\\e>. See E<.Xr crypt 5> for more "
245 "detail on the format of hashed passphrases."
246 msgstr ""
247 "عند الإكمال الناجح، تُرجع الدوال E<.Nm crypt> وE<.Nm crypt_r> وE<.Nm "
248 "crypt_rn> وE<.Nm crypt_ra> مؤشرًا إلى سلسلة محارف تُرمّز كلًا من عبارة السر "
249 "المُعمّاة والإعدادات التي استُخدمت لتعميتها. هذه السلسلة قابلة للاستخدام "
250 "مباشرة كـ E<.Fa setting> في استدعاءات أخرى للدوال E<.Nm crypt> وE<.Nm "
251 "crypt_r> وE<.Nm crypt_rn> وE<.Nm crypt_ra>، وكـ E<.Fa prefix> في استدعاءات "
252 "الدوال E<.Nm crypt_gensalt> وE<.Nm crypt_gensalt_rn> وE<.Nm "
253 "crypt_gensalt_ra>. ستكون السلسلة بالكامل من محارف ASCII القابلة للطباعة، "
254 "ولن تحتوي على مسافات بيضاء أو المحارف E<.Sq Li \\&:> أو E<.Sq Li \\&;> أو E<."
255 "Sq Li \\&*> أو E<.Sq Li \\&!> أو E<.Sq Li \\&\\e>. انظر E<.Xr crypt 5> "
256 "لمزيد من التفاصيل حول تنسيق عبارات السر المُعمّاة."
257
258 #. type: Plain text
259 #: debian-trixie
260 msgid ""
261 "E<.Nm crypt> places its result in a static storage area, which will be "
262 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call E<."
263 "Nm crypt> from multiple threads simultaneously."
264 msgstr ""
265 "تضع E<.Nm crypt> نتيجتها في منطقة تخزين ثابتة، والتي ستُستبدل باستدعاءات "
266 "لاحقة لـ E<.Nm crypt>. ليس آمنًا استدعاء E<.Nm crypt> من عدة مسارات تنفيذ في "
267 "وقت واحد."
268
269 #. type: Plain text
270 #: debian-trixie
271 msgid ""
272 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
273 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
274 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
275 "object is used for each thread."
276 msgstr ""
277 "تضع E<.Nm crypt_r> و E<.Nm crypt_rn> و E<.Nm crypt_ra> نتيجتها في حقل E<.Fa "
278 "output> لوسيط E<.Fa data> الخاص بها. من الآمن استدعاؤها من عدة مسارات تنفيذ "
279 "في وقت واحد، طالما يُستخدم كائن E<.Fa data> منفصل لكل مسار تنفيذ."
280
281 #. type: Plain text
282 #: debian-trixie debian-unstable
283 msgid ""
284 "Upon error, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> write an E<."
285 "Em invalid> hash to the E<.Fa output> field of their E<.Fa data> argument, "
286 "and E<.Nm crypt> writes an invalid hash to its static storage area. This "
287 "string will be shorter than 13 characters, will begin with a E<.Sq Li \\&*>, "
288 "and will not compare equal to E<.Fa setting>."
289 msgstr ""
290 "عند حدوث خطأ، تكتب الدوال E<.Nm crypt_r> وE<.Nm crypt_rn> وE<.Nm crypt_ra> "
291 "قيمة تعمية E<.Em غير صالحة> إلى حقل E<.Fa output> من معاملها E<.Fa data>، "
292 "وتكتب الدالة E<.Nm crypt> قيمة تعمية غير صالحة إلى منطقة تخزينها الثابتة. "
293 "ستكون هذه السلسلة أقصر من 13 محرفًا، وستبدأ بـ E<.Sq Li \\&*>، ولن تُساوِي E<."
294 "Fa setting>."
295
296 #. type: Plain text
297 #: debian-trixie debian-unstable
298 msgid ""
299 "Upon error, E<.Nm crypt_rn> and E<.Nm crypt_ra> return a null pointer. E<."
300 "Nm crypt_r> and E<.Nm crypt> may also return a null pointer, or they may "
301 "return a pointer to the invalid hash, depending on how libcrypt was "
302 "configured. (The option to return the invalid hash is for compatibility "
303 "with old applications that assume that E<.Nm crypt> cannot return a null "
304 "pointer. See E<.Sx PORTABILITY NOTES> below.)"
305 msgstr ""
306 "عند حدوث خطأ، تُرجع E<.Nm crypt_rn> و E<.Nm crypt_ra> مؤشرًا فارغًا. قد تُرجع E<."
307 "Nm crypt_r> و E<.Nm crypt> أيضًا مؤشرًا فارغًا، أو قد تُرجعان مؤشرًا إلى التجزئة "
308 "غير الصالحة، اعتمادًا على كيفية تكوين libcrypt. (خيار إرجاع التجزئة غير "
309 "الصالحة هو للتوافق مع التطبيقات القديمة التي تفترض أن E<.Nm crypt> لا يمكنها "
310 "إرجاع مؤشر فارغ. انظر E<.Sx ملاحظات قابلية النقل> أدناه.)"
311
312 #. type: Plain text
313 #: debian-trixie debian-unstable
314 msgid ""
315 "All four functions set E<.Va errno> when they fail. When the functions "
316 "succeed, the value of E<.Va errno> is unspecified and must not be relied "
317 "upon."
318 msgstr ""
319 "تضبط جميع الدوال الأربع E<.Va errno> عند فشلها. عندما تنجح الدوال، تكون قيمة "
320 "E<.Va errno> غير محددة ويجب عدم الاعتماد عليها."
321
322 #. type: Sh
323 #: debian-trixie debian-unstable
324 #, no-wrap
325 msgid "ERRORS"
326 msgstr "الأخطاء"
327
328 #. type: It
329 #: debian-trixie debian-unstable
330 #, no-wrap
331 msgid "Er EINVAL"
332 msgstr "خطأ EINVAL"
333
334 #. type: Plain text
335 #: debian-trixie debian-unstable
336 msgid ""
337 "E<.Fa setting> is invalid, or requests a hashing method that is not "
338 "supported."
339 msgstr "E<.Fa الإعداد> غير صالح، أو يطلب طريقة تجزئة غير مدعومة."
340
341 #. type: It
342 #: debian-trixie debian-unstable
343 #, no-wrap
344 msgid "Er ERANGE"
345 msgstr "خطأ ERANGE"
346
347 #. type: Plain text
348 #: debian-trixie debian-unstable
349 msgid ""
350 "E<.Fa phrase> is too long (more than E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> "
351 "characters; some hashing methods may have lower limits)."
352 msgstr ""
353 "E<.Fa العبارة> طويلة جدًا (أكثر من E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> حرفًا؛ قد "
354 "تحتوي بعض طرق التجزئة على حدود أقل)."
355
356 #. type: Plain text
357 #: debian-trixie debian-unstable
358 msgid ""
359 "E<.Nm crypt_rn> only: E<.Fa size> is too small for the hashing method "
360 "requested by E<.Fa setting>."
361 msgstr ""
362 "E<.Nm crypt_rn> فقط: E<.Fa الحجم> صغير جدًا لطريقة التجزئة المطلوبة بواسطة E<."
363 "Fa الإعداد>."
364
365 #. type: It
366 #: debian-trixie debian-unstable
367 #, no-wrap
368 msgid "Er ENOMEM"
369 msgstr "خطأ ENOMEM"
370
371 #. type: Plain text
372 #: debian-trixie debian-unstable
373 msgid "Failed to allocate internal scratch memory."
374 msgstr "فشل تخصيص ذاكرة مؤقتة داخلية."
375
376 #. type: Plain text
377 #: debian-trixie debian-unstable
378 msgid "E<.Nm crypt_ra> only: failed to allocate memory for E<.Fa data>."
379 msgstr "E<.Nm crypt_ra> فقط: فشل تخصيص ذاكرة لـ E<.Fa البيانات>."
380
381 #. type: It
382 #: debian-trixie debian-unstable
383 #, no-wrap
384 msgid "Er ENOSYS No or Er EOPNOTSUPP"
385 msgstr "خطأ ENOSYS أو خطأ EOPNOTSUPP"
386
387 #. type: Plain text
388 #: debian-trixie debian-unstable
389 msgid ""
390 "Hashing passphrases is not supported at all on this installation, or the "
391 "hashing method requested by E<.Fa setting> is not supported. These error "
392 "codes are not used by this version of libcrypt, but may be encountered on "
393 "other systems."
394 msgstr ""
395 "تجزئة كلمات السر غير مدعومة على الإطلاق في هذا التثبيت، أو طريقة التجزئة "
396 "المطلوبة بواسطة E<.Fa الإعداد> غير مدعومة. لا تُستخدم رموز الخطأ هذه بواسطة "
397 "هذا الإصدار من libcrypt، ولكن قد تُواجه على أنظمة أخرى."
398
399 #. type: Sh
400 #: debian-trixie debian-unstable
401 #, no-wrap
402 msgid "PORTABILITY NOTES"
403 msgstr "ملاحظات قابلية النقل"
404
405 #. type: Plain text
406 #: debian-trixie debian-unstable
407 msgid ""
408 "E<.Nm crypt> is included in POSIX, but E<.Nm crypt_r>, E<.Nm crypt_rn>, and "
409 "E<.Nm crypt_ra> are not part of any standard."
410 msgstr ""
411 "E<.Nm crypt> مضمنة في POSIX، لكن E<.Nm crypt_r> و E<.Nm crypt_rn> و E<.Nm "
412 "crypt_ra> ليست جزءًا من أي معيار."
413
414 #. type: Plain text
415 #: debian-trixie debian-unstable
416 msgid ""
417 "POSIX does not specify any hashing methods, and does not require hashed "
418 "passphrases to be portable between systems. In practice, hashed passphrases "
419 "are portable as long as both systems support the hashing method that was "
420 "used. However, the set of supported hashing methods varies considerably "
421 "from system to system."
422 msgstr ""
423 "لا يحدد POSIX أي طرق تجزئة، ولا يتطلب أن تكون كلمات السر المجزأة قابلة للنقل "
424 "بين الأنظمة. عمليًا، تكون كلمات السر المجزأة قابلة للنقل طالما أن كلا "
425 "النظامين يدعمان طريقة التجزئة المستخدمة. ومع ذلك، تختلف مجموعة طرق التجزئة "
426 "المدعومة اختلافًا كبيرًا من نظام إلى آخر."
427
428 #. type: Plain text
429 #: debian-trixie debian-unstable
430 msgid ""
431 "The behavior of E<.Nm crypt> on errors isn't well standardized. Some "
432 "implementations simply can't fail (except by crashing the program), others "
433 "return a null pointer or a fixed string. Most implementations don't set E<."
434 "Va errno>, but some do. POSIX specifies returning a null pointer and "
435 "setting E<.Va errno>, but it defines only one possible error, E<.Er ENOSYS>, "
436 "in the case where E<.Nm crypt> is not supported at all. Some older "
437 "applications are not prepared to handle null pointers returned by E<.Nm "
438 "crypt>. The behavior described above for this implementation, setting E<.Va "
439 "errno> and returning an invalid hash different from E<.Fa setting>, is "
440 "chosen to make these applications fail closed when an error occurs."
441 msgstr ""
442 "سلوك E<.Nm crypt> عند الأخطاء ليس موحدًا بشكل جيد. بعض التطبيقات ببساطة لا "
443 "يمكنها الفشل (باستثناء تعطل البرنامج)، وأخرى تُرجع مؤشرًا فارغًا أو سلسلة محارف "
444 "ثابتة. معظم التطبيقات لا تضبط E<.Va errno>، لكن بعضها يفعل. يحدد POSIX إرجاع "
445 "مؤشر فارغ وضبط E<.Va errno>، لكنه يعرف خطأً واحدًا فقط ممكنًا، E<.Er ENOSYS>، "
446 "في حالة عدم دعم E<.Nm crypt> على الإطلاق. بعض التطبيقات القديمة غير مستعدة "
447 "للتعامل مع المؤشرات الفارغة التي تُرجعها E<.Nm crypt>. السلوك الموصوف أعلاه "
448 "لهذا التطبيق، ضبط E<.Va errno> وإرجاع تجزئة غير صالحة مختلفة عن E<.Fa "
449 "الإعداد>، اختير لجعل هذه التطبيقات تفشل بشكل مغلق عند حدوث خطأ."
450
451 #. type: Plain text
452 #: debian-trixie debian-unstable
453 msgid ""
454 "Due to historical restrictions on the export of cryptographic software from "
455 "the USA, E<.Nm crypt> is an optional POSIX component. Applications should "
456 "therefore be prepared for E<.Nm crypt> not to be available, or to always "
457 "fail (setting E<.Va errno> to E<.Er ENOSYS>) at runtime."
458 msgstr ""
459 "بسبب القيود التاريخية على تصدير البرامج التشفيرية من الولايات المتحدة، E<.Nm "
460 "crypt> هي مكون اختياري في POSIX. لذلك يجب أن تكون التطبيقات مستعدة لعدم توفر "
461 "E<.Nm crypt>، أو فشلها دائمًا (ضبط E<.Va errno> إلى E<.Er ENOSYS>) في وقت "
462 "التشغيل."
463
464 #. type: Plain text
465 #: debian-trixie debian-unstable
466 msgid "POSIX specifies that E<.Nm crypt> is declared in"
467 msgstr "يحدد POSIX أن E<.Nm crypt> معلنة في"
468
469 #. type: In
470 #: debian-trixie debian-unstable
471 #, no-wrap
472 msgid "unistd.h ,"
473 msgstr "unistd.h،"
474
475 #. type: Plain text
476 #: debian-trixie debian-unstable
477 msgid ""
478 "but only if the macro E<.Dv _XOPEN_CRYPT> is defined and has a value greater "
479 "than or equal to zero. Since libcrypt does not provide"
480 msgstr ""
481 "ولكن فقط إذا كان الماكرو E<.Dv _XOPEN_CRYPT> معرفًا وله قيمة أكبر من أو تساوي "
482 "الصفر. نظرًا لأن libcrypt لا توفر"
483
484 #. type: Plain text
485 #: debian-trixie debian-unstable
486 msgid ""
487 "it declares E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm "
488 "crypt_ra> in"
489 msgstr ""
490 "تُعلن عن E<.Nm crypt> وE<.Nm crypt_r> وE<.Nm crypt_rn> وE<.Nm crypt_ra> في"
491
492 #. type: Plain text
493 #: debian-trixie debian-unstable
494 msgid "instead."
495 msgstr "بدلاً من ذلك."
496
497 #. type: Plain text
498 #: debian-trixie debian-unstable
499 msgid ""
500 "On a minority of systems (notably recent versions of Solaris), E<.Nm crypt> "
501 "uses a thread-specific static storage buffer, which makes it safe to call "
502 "from multiple threads simultaneously, but does not prevent each call within "
503 "a thread from overwriting the results of the previous one."
504 msgstr ""
505 "على أقلية من الأنظمة (خاصة الإصدارات الحديثة من Solaris)، يستخدم E<.Nm "
506 "crypt> مخزنًا ثابتًا خاصًا بالخيط، مما يجعله آمنًا للاستدعاء من خيوط متعددة في "
507 "وقت واحد، لكنه لا يمنع كل استدعاء داخل خيط من الكتابة فوق نتائج الاستدعاء "
508 "السابق."
509
510 #. type: Sh
511 #: debian-trixie debian-unstable
512 #, no-wrap
513 msgid "BUGS"
514 msgstr "العلل"
515
516 #. type: Plain text
517 #: debian-trixie debian-unstable
518 msgid ""
519 "Some implementations of E<.Nm crypt>, upon error, return an invalid hash "
520 "that is stored in a read-only location or only initialized once, which means "
521 "that it is only safe to erase the buffer pointed to by the E<.Nm crypt> "
522 "return value if an error did not occur."
523 msgstr ""
524 "بعض تطبيقات E<.Nm crypt>، عند حدوث خطأ، تُرجع تجزئة غير صالحة مخزنة في موقع "
525 "للقراءة فقط أو مهيأة مرة واحدة فقط، مما يعني أنه من الآمن فقط مسح المخزن "
526 "المشار إليه بقيمة إرجاع E<.Nm crypt> إذا لم يحدث خطأ."
527
528 #. type: Plain text
529 #: debian-trixie debian-unstable
530 msgid ""
531 "E<.Vt \"struct crypt_data\"> may be quite large (32kB in this implementation "
532 "of libcrypt; over 128kB in some other implementations). This is large "
533 "enough that it may be unwise to allocate it on the stack."
534 msgstr ""
535 "قد يكون E<.Vt \"struct crypt_data\"> كبيرًا جدًا (32 كيلوبايت في هذا التطبيق "
536 "من libcrypt؛ وأكثر من 128 كيلوبايت في بعض التطبيقات الأخرى). هذا كبير بما "
537 "يكفي ليكون من غير الحكيم تخصيصه على المكدس."
538
539 #. type: Plain text
540 #: debian-trixie debian-unstable
541 msgid ""
542 "Some recently designed hashing methods need even more scratch memory, but "
543 "the E<.Nm crypt_r> interface makes it impossible to change the size of E<.Vt "
544 "\"struct crypt_data\"> without breaking binary compatibility. The E<.Nm "
545 "crypt_rn> interface could accommodate larger allocations for specific "
546 "hashing methods, but the caller of E<.Nm crypt_rn> has no way of knowing how "
547 "much memory to allocate. E<.Nm crypt_ra> does the allocation itself, but "
548 "can only make a single call to E<.Xr malloc 3>."
549 msgstr ""
550 "بعض طرق التجزئة المصممة حديثًا تحتاج إلى ذاكرة مؤقتة أكبر، لكن واجهة E<.Nm "
551 "crypt_r> تجعل من المستحيل تغيير حجم E<.Vt \"struct crypt_data\"> دون كسر "
552 "التوافق الثنائي. يمكن لواجهة E<.Nm crypt_rn> استيعاب تخصيصات أكبر لطرق تجزئة "
553 "محددة، لكن المستدعي لـ E<.Nm crypt_rn> ليس لديه طريقة لمعرفة مقدار الذاكرة "
554 "المراد تخصيصها. يقوم E<.Nm crypt_ra> بالتخصيص بنفسه، لكن يمكنه فقط إجراء "
555 "استدعاء واحد لـ E<.Xr malloc 3>."
556
557 #. type: Sh
558 #: debian-trixie debian-unstable
559 #, no-wrap
560 msgid "ATTRIBUTES"
561 msgstr "السمات"
562
563 #. type: Plain text
564 #: debian-trixie debian-unstable
565 msgid ""
566 "For an explanation of the terms used in this section, see E<.Xr attributes "
567 "7>."
568 msgstr "لشرح المصطلحات المستخدمة في هذا القسم، انظر E<.Xr attributes 7>."
569
570 #. type: tbl table
571 #: debian-trixie debian-unstable
572 #, no-wrap
573 msgid "Interface"
574 msgstr "الواجهة"
575
576 #. type: tbl table
577 #: debian-trixie debian-unstable
578 #, no-wrap
579 msgid "Attribute"
580 msgstr "السمة"
581
582 #. type: tbl table
583 #: debian-trixie debian-unstable
584 #, no-wrap
585 msgid "Value"
586 msgstr "القيمة"
587
588 #. type: tbl table
589 #: debian-trixie debian-unstable
590 #, no-wrap
591 msgid ".Nm crypt\n"
592 msgstr ".Nm crypt\n"
593
594 #. type: tbl table
595 #: debian-trixie debian-unstable
596 #, no-wrap
597 msgid "Thread safety"
598 msgstr "سلامة الخيوط"
599
600 #. type: tbl table
601 #: debian-trixie debian-unstable
602 #, no-wrap
603 msgid "MT-Unsafe race:crypt"
604 msgstr "غير آمن للمسارات المتعددة (MT-Unsafe) سباق:crypt"
605
606 #. type: tbl table
607 #: debian-trixie debian-unstable
608 #, no-wrap
609 msgid ".Nm crypt_r ,\n"
610 msgstr ".Nm crypt_r ,\n"
611
612 #. type: tbl table
613 #: debian-trixie debian-unstable
614 #, no-wrap
615 msgid ".Nm crypt_rn ,\n"
616 msgstr ".Nm crypt_rn ,\n"
617
618 #. type: tbl table
619 #: debian-trixie debian-unstable
620 #, no-wrap
621 msgid ".Nm crypt_ra\n"
622 msgstr ".Nm crypt_ra\n"
623
624 #. type: tbl table
625 #: debian-trixie debian-unstable
626 #, no-wrap
627 msgid "MT-Safe"
628 msgstr "MT-Safe"
629
630 #. type: Sh
631 #: debian-trixie debian-unstable
632 #, no-wrap
633 msgid "HISTORY"
634 msgstr "التاريخ"
635
636 #. type: Plain text
637 #: debian-trixie debian-unstable
638 msgid ""
639 "A rotor-based E<.Nm crypt> function appeared in E<.At v6>. The E<.Dq "
640 "traditional> DES-based E<.Nm crypt> first appeared in E<.At v7>."
641 msgstr ""
642 "ظهرت دالة E<.Nm crypt> المعتمدة على الدوار في E<.At v6>. ظهرت E<.Nm crypt> "
643 "التقليدية المعتمدة على DES لأول مرة في E<.At v7>."
644
645 #. type: Plain text
646 #: debian-trixie debian-unstable
647 msgid ""
648 "E<.Nm crypt_r> originates with the GNU C Library. There's also a E<.Nm "
649 "crypt_r> function on HP-UX and MKS Toolkit, but the prototypes and semantics "
650 "differ."
651 msgstr ""
652 "نشأت E<.Nm crypt_r> من مكتبة GNU C. توجد أيضًا دالة E<.Nm crypt_r> على HP-UX "
653 "وMKS Toolkit، لكن النماذج الأولية والدلالات تختلف."
654
655 #. type: Plain text
656 #: debian-trixie debian-unstable
657 msgid ""
658 "E<.Nm crypt_rn> and E<.Nm crypt_ra> originate with the Openwall project."
659 msgstr "نشأت E<.Nm crypt_rn> وE<.Nm crypt_ra> من مشروع Openwall."
660
661 #. type: Sh
662 #: debian-trixie debian-unstable
663 #, no-wrap
664 msgid "SEE ALSO"
665 msgstr "انظر أيضًا"
666
667 #. type: Plain text
668 #: debian-trixie debian-unstable
669 msgid ""
670 "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow "
671 "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr "
672 "shadow 5>, E<.Xr pam 8>"
673 msgstr ""
674 "E<.Xr crypt_gensalt 3>، E<.Xr getpass 3>، E<.Xr getpwent 3>، E<.Xr shadow "
675 "3>، E<.Xr login 1>، E<.Xr passwd 1>، E<.Xr crypt 5>، E<.Xr passwd 5>، E<.Xr "
676 "shadow 5>، E<.Xr pam 8>"
677
678 #. type: Plain text
679 #: debian-unstable
680 msgid ""
681 "E<.Nm crypt> places its result in a static storage area, which will be "
682 "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call E<."
683 "Nm crypt> from multiple threads simultaneously. It's also not recommended "
684 "to use the pointer returned as an argument for another call to E<.Nm crypt>, "
685 "as some implementations, including earlier releases of libxcrypt, may "
686 "overwrite the underlying static output buffer before computing the hash."
687 msgstr ""
688 "يضع E<.Nm crypt> نتيجته في منطقة تخزين ثابتة، والتي تُكتب فوقها بواسطة "
689 "استدعاءات لاحقة لـ E<.Nm crypt>. ليس من الآمن استدعاء E<.Nm crypt> من خيوط "
690 "متعددة في وقت واحد. لا يُوصى أيضًا باستخدام المؤشر المُعاد كوسيطة لاستدعاء آخر "
691 "لـ E<.Nm crypt>، حيث أن بعض التطبيقات، بما في ذلك الإصدارات السابقة من "
692 "libxcrypt، قد تكتب فوق مخزن الإخراج الثابت الأساسي قبل حساب التجزئة."
693
694 #. type: Plain text
695 #: debian-unstable
696 msgid ""
697 "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in "
698 "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call "
699 "them from multiple threads simultaneously, as long as a separate E<.Fa data> "
700 "object is used for each thread. It's also not recommended to use the "
701 "pointer returned as an argument for another call to E<.Nm crypt_r>, E<.Nm "
702 "crypt_rn>, and E<.Nm crypt_ra> using the same E<.Fa data> object for "
703 "subsequent calls, as some implementations, including earlier releases of "
704 "libxcrypt, may overwrite the E<.Fa output> field of the passed E<.Fa data> "
705 "argument before computing the hash. Calling E<.Nm crypt_ra> with the E<.Fa "
706 "phrase> and/or E<.Fa setting> parameters located within a passed E<.Fa data> "
707 "object which is smaller than the size of E<.Vt \"struct crypt_data\"> is not "
708 "recommended, as some implementations, including earlier releases of "
709 "libxcrypt, may not preserve the passed literals, if the E<.Fa data> object "
710 "needs to be altered."
711 msgstr ""
712 "تضع E<.Nm crypt_r> وE<.Nm crypt_rn> وE<.Nm crypt_ra> نتيجتهن في حقل E<.Fa "
713 "output> لوسيطتهن E<.Fa data>. من الآمن استدعاؤهن من خيوط متعددة في وقت واحد، "
714 "طالما يُستخدم كائن E<.Fa data> منفصل لكل خيط. لا يُوصى أيضًا باستخدام المؤشر "
715 "المُعاد كوسيطة لاستدعاء آخر لـ E<.Nm crypt_r> وE<.Nm crypt_rn> وE<.Nm "
716 "crypt_ra> باستخدام نفس كائن E<.Fa data> للاستدعاءات اللاحقة، حيث أن بعض "
717 "التطبيقات، بما في ذلك الإصدارات السابقة من libxcrypt، قد تكتب فوق حقل E<.Fa "
718 "output> لوسيطة E<.Fa data> المُمررة قبل حساب التجزئة. لا يُوصى باستدعاء E<.Nm "
719 "crypt_ra> مع معاملات E<.Fa phrase> و/أو E<.Fa setting> الموجودة داخل كائن E<."
720 "Fa data> مُمرر أصغر من حجم E<.Vt \"struct crypt_data\">، حيث أن بعض "
721 "التطبيقات، بما في ذلك الإصدارات السابقة من libxcrypt، قد لا تحافظ على "
722 "الحرفيات المُمررة، إذا كان كائن E<.Fa data> بحاجة إلى التغيير."