Debian Codegraph @

po/ru/man3/encrypt.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2012.
5 # Yuri Kozlov <[email protected]>, 2011-2019.
6 # Иван Павлов <[email protected]>, 2017.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:23+0200\n"
11 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
12 "Last-Translator: Yuri Kozlov <[email protected]>\n"
13 "Language-Team: Russian <[email protected]>\n"
14 "Language: ru\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
20 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
21 "X-Generator: Lokalize 2.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, fuzzy, no-wrap
27 #| msgid "I<Encrypt=>"
28 msgid "encrypt"
29 msgstr "I<Encrypt=>"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid "encrypt, setkey, encrypt_r, setkey_r - encrypt 64-bit messages"
56 msgstr "encrypt, setkey, encrypt_r, setkey_r - шифрование 64-битных сообщений"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "БИБЛИОТЕКА"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 #, fuzzy
69 #| msgid "Standard C library (I<libc>, I<-lc>)"
70 msgid "Password hashing library (I<libcrypt>,\\ I<-lcrypt>)"
71 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<#define _XOPEN_SOURCE> /* See feature_test_macros(7) */\n"
86 "B<#include E<lt>unistd.hE<gt>>\n"
87 msgstr ""
88 "B<#define _XOPEN_SOURCE> /* См. feature_test_macros(7) */\n"
89 "B<#include E<lt>unistd.hE<gt>>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, fuzzy, no-wrap
95 #| msgid "B<void encrypt(char >I<block>B<[64], int >I<edflag>B<);>\n"
96 msgid "B<[[deprecated]] void encrypt(char >I<block>B<[64], int >I<edflag>B<);>\n"
97 msgstr "B<void encrypt(char >I<block>B<[64], int >I<edflag>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<#define _XOPEN_SOURCE> /* See feature_test_macros(7) */\n"
105 "B<#include E<lt>stdlib.hE<gt>>\n"
106 msgstr ""
107 "B<#define _XOPEN_SOURCE> /* смотрите feature_test_macros(7) */\n"
108 "B<#include E<lt>stdlib.hE<gt>>\n"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, fuzzy, no-wrap
114 #| msgid "B<void setkey(const char *>I<key>B<);>\n"
115 msgid "B<[[deprecated]] void setkey(const char *>I<key>B<);>\n"
116 msgstr "B<void setkey(const char *>I<key>B<);>\n"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid ""
123 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
124 "B<#include E<lt>crypt.hE<gt>>\n"
125 msgstr ""
126 "B<#define _GNU_SOURCE> /* смотрите feature_test_macros(7) */\n"
127 "B<#include E<lt>crypt.hE<gt>>\n"
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, fuzzy, no-wrap
133 #| msgid ""
134 #| "B<void setkey_r(const char *>I<key>B<, struct crypt_data *>I<data>B<);>\n"
135 #| "B<void encrypt_r(char *>I<block>B<, int >I<edflag>B<, struct crypt_data *>I<data>B<);>\n"
136 msgid ""
137 "B<[[deprecated]] void setkey_r(const char *>I<key>B<, struct crypt_data *>I<data>B<);>\n"
138 "B<[[deprecated]] void encrypt_r(char *>I<block>B<, int >I<edflag>B<,>\n"
139 "B< struct crypt_data *>I<data>B<);>\n"
140 msgstr ""
141 "B<void setkey_r(const char *>I<key>B<, struct crypt_data *>I<data>B<);>\n"
142 "B<void encrypt_r(char *>I<block>B<, int >I<edflag>B<, struct crypt_data *>I<data>B<);>\n"
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "DESCRIPTION"
149 msgstr "ОПИСАНИЕ"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "These functions encrypt and decrypt 64-bit messages. The B<setkey>() "
156 "function sets the key used by B<encrypt>(). The I<key> argument used here "
157 "is an array of 64 bytes, each of which has numerical value 1 or 0. The "
158 "bytes key[n] where n=8*i-1 are ignored, so that the effective key length is "
159 "56 bits."
160 msgstr ""
161 "Эти функции кодируют и декодируют 64-битные сообщения. Функцией B<setkey>() "
162 "задаётся ключ, который затем используется B<encrypt>(). Параметр I<key> "
163 "является массивом из 64 байтов, каждый из которых имеет значение 1 или 0. "
164 "Байты key[n], где n=8*i-1 — игнорируются, так что действительная длина ключа "
165 "равна 56 битам."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The B<encrypt>() function modifies the passed buffer, encoding if I<edflag> "
172 "is 0, and decoding if 1 is being passed. Like the I<key> argument, also "
173 "I<block> is a bit vector representation of the actual value that is "
174 "encoded. The result is returned in that same vector."
175 msgstr ""
176 "Функция B<encrypt>() изменяет переданный буфер и, если значение I<edflag> "
177 "равно 0, то кодирует его, а если равно 1 — то декодирует. Как и параметр "
178 "I<key>, аргумент I<block> также является представлением битового вектора "
179 "действительного кодируемого значения. Результат возвращается в этом же "
180 "векторе."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "These two functions are not reentrant, that is, the key data is kept in "
187 "static storage. The functions B<setkey_r>() and B<encrypt_r>() are the "
188 "reentrant versions. They use the following structure to hold the key data:"
189 msgstr ""
190 "Эти две функции не являются повторно используемыми, то есть данные ключа "
191 "хранятся в статическом хранилище. Функции B<setkey_r>() и B<encrypt_r>() "
192 "являются повторно используемыми версиями. Они используют следующую структуру "
193 "для хранения данных ключа:"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, fuzzy, no-wrap
199 #| msgid ""
200 #| "struct crypt_data {\n"
201 #| " char keysched[16 * 8];\n"
202 #| " char sb0[32768];\n"
203 #| " char sb1[32768];\n"
204 #| " char sb2[32768];\n"
205 #| " char sb3[32768];\n"
206 #| " char crypt_3_buf[14];\n"
207 #| " char current_salt[2];\n"
208 #| " long int current_saltbits;\n"
209 #| " int direction;\n"
210 #| " int initialized;\n"
211 #| "};\n"
212 msgid ""
213 "struct crypt_data {\n"
214 " char keysched[16 * 8];\n"
215 " char sb0[32768];\n"
216 " char sb1[32768];\n"
217 " char sb2[32768];\n"
218 " char sb3[32768];\n"
219 " char crypt_3_buf[14];\n"
220 " char current_salt[2];\n"
221 " long current_saltbits;\n"
222 " int direction;\n"
223 " int initialized;\n"
224 "};\n"
225 msgstr ""
226 "struct crypt_data {\n"
227 " char keysched[16 * 8];\n"
228 " char sb0[32768];\n"
229 " char sb1[32768];\n"
230 " char sb2[32768];\n"
231 " char sb3[32768];\n"
232 " char crypt_3_buf[14];\n"
233 " char current_salt[2];\n"
234 " long int current_saltbits;\n"
235 " int direction;\n"
236 " int initialized;\n"
237 "};\n"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "Before calling B<setkey_r>() set I<data-E<gt>initialized> to zero."
243 msgstr "Перед вызовом B<setkey_r>() обнулите I<data-E<gt>initialized>."
244
245 #. type: SH
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "RETURN VALUE"
250 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid "These functions do not return any value."
256 msgstr "Данные функции не возвращают никаких значений."
257
258 #. type: SH
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "ERRORS"
263 msgstr "ОШИБКИ"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, fuzzy
269 #| msgid ""
270 #| "Set I<errno> to zero before calling the above functions. On success, it "
271 #| "is unchanged."
272 msgid ""
273 "Set I<errno> to zero before calling the above functions. On success, "
274 "I<errno> is unchanged."
275 msgstr ""
276 "Установите переменную I<errno> в ноль перед вызовом этих функций. При "
277 "нормальном завершении работы её значение не изменится."
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<ENOSYS>"
284 msgstr "B<ENOSYS>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "The function is not provided. (For example because of former USA export "
291 "restrictions.)"
292 msgstr ""
293 "Функция не предусмотрена (например, из-за старых запретов США на экспорт)."
294
295 #. type: SH
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "ATTRIBUTES"
300 msgstr "АТРИБУТЫ"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "For an explanation of the terms used in this section, see B<attributes>(7)."
307 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
308
309 #. type: tbl table
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "Interface"
314 msgstr "Интерфейс"
315
316 #. type: tbl table
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "Attribute"
321 msgstr "Атрибут"
322
323 #. type: tbl table
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "Value"
328 msgstr "Значение"
329
330 #. type: tbl table
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid ".na\n"
335 msgstr ".na\n"
336
337 #. type: tbl table
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid ".nh\n"
342 msgstr ".nh\n"
343
344 #. type: tbl table
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid ""
349 "B<encrypt>(),\n"
350 "B<setkey>()"
351 msgstr ""
352 "B<encrypt>(),\n"
353 "B<setkey>()"
354
355 #. type: tbl table
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "Thread safety"
360 msgstr "Безвредность в нитях"
361
362 #. type: tbl table
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "MT-Unsafe race:crypt"
367 msgstr "MT-Unsafe race:crypt"
368
369 #. type: tbl table
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid ""
374 "B<encrypt_r>(),\n"
375 "B<setkey_r>()"
376 msgstr ""
377 "B<encrypt_r>(),\n"
378 "B<setkey_r>()"
379
380 #. type: tbl table
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "MT-Safe"
385 msgstr "MT-Safe"
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "STANDARDS"
392 msgstr "СТАНДАРТЫ"
393
394 #. type: TP
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, fuzzy, no-wrap
398 #| msgid "B<crypt>(3)"
399 msgid "B<encrypt>()"
400 msgstr "B<crypt>(3)"
401
402 #. type: TQ
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, fuzzy, no-wrap
406 #| msgid "B<setns>(2)"
407 msgid "B<setkey>()"
408 msgstr "B<setns>(2)"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "POSIX.1-2008."
414 msgstr "POSIX.1-2008."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, fuzzy, no-wrap
420 #| msgid "B<crypt>(3)"
421 msgid "B<encrypt_r>()"
422 msgstr "B<crypt>(3)"
423
424 #. type: TQ
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, fuzzy, no-wrap
428 #| msgid "B<setns>(2)"
429 msgid "B<setkey_r>()"
430 msgstr "B<setns>(2)"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid "None."
436 msgstr "Отсутствуют."
437
438 #. type: SH
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "HISTORY"
443 msgstr "ИСТОРИЯ"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, fuzzy
449 #| msgid "Before glibc 2.20:"
450 msgid "Removed in glibc 2.28."
451 msgstr "До glibc 2.20:"
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, fuzzy
457 #| msgid ""
458 #| "Because they employ the DES block cipher, which is no longer considered "
459 #| "secure, B<crypt>(), B<crypt_r>(), B<setkey>(), and B<setkey_r>() were "
460 #| "removed in glibc 2.28. Applications should switch to a modern "
461 #| "cryptography library, such as B<libgcrypt>."
462 msgid ""
463 "Because they employ the DES block cipher, which is no longer considered "
464 "secure, these functions were removed from glibc. Applications should switch "
465 "to a modern cryptography library, such as B<libgcrypt>."
466 msgstr ""
467 "Функции B<crypt>(), B<crypt_r>(), B<setkey>() и B<setkey_r>() удалены из "
468 "glibc 2.28, так как они используют блочный шифр DES, который теперь "
469 "считается небезопасным. В приложениях следует использовать современную "
470 "библиотеку шифрования, например B<libgcrypt>."
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, fuzzy
476 #| msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
477 msgid "POSIX.1-2001, SUS, SVr4."
478 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
479
480 #. type: SS
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Availability in glibc"
485 msgstr "Доступность в glibc"
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid "See B<crypt>(3)."
491 msgstr "Смотрите B<crypt>(3)."
492
493 #. type: SS
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "Features in glibc"
498 msgstr "Свойства в glibc"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid "In glibc 2.2, these functions use the DES algorithm."
504 msgstr "В glibc 2.2 в данных функциях используется алгоритм DES."
505
506 #. type: SH
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid "EXAMPLES"
511 msgstr "ПРИМЕРЫ"
512
513 #. type: Plain text
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid ""
518 "#define _XOPEN_SOURCE\n"
519 "#include E<lt>crypt.hE<gt>\n"
520 "#include E<lt>stdio.hE<gt>\n"
521 "#include E<lt>stdlib.hE<gt>\n"
522 "#include E<lt>unistd.hE<gt>\n"
523 "\\&\n"
524 "int\n"
525 "main(void)\n"
526 "{\n"
527 " char key[64];\n"
528 " char orig[9] = \"eggplant\";\n"
529 " char buf[64];\n"
530 " char txt[9];\n"
531 "\\&\n"
532 " for (size_t i = 0; i E<lt> 64; i++) {\n"
533 " key[i] = rand() & 1;\n"
534 " }\n"
535 "\\&\n"
536 " for (size_t i = 0; i E<lt> 8; i++) {\n"
537 " for (size_t j = 0; j E<lt> 8; j++) {\n"
538 " buf[i * 8 + j] = orig[i] E<gt>E<gt> j & 1;\n"
539 " }\n"
540 " setkey(key);\n"
541 " }\n"
542 " printf(\"Before encrypting: %s\\[rs]n\", orig);\n"
543 "\\&\n"
544 " encrypt(buf, 0);\n"
545 " for (size_t i = 0; i E<lt> 8; i++) {\n"
546 " for (size_t j = 0, txt[i] = \\[aq]\\[rs]0\\[aq]; j E<lt> 8; j++) {\n"
547 " txt[i] |= buf[i * 8 + j] E<lt>E<lt> j;\n"
548 " }\n"
549 " txt[8] = \\[aq]\\[rs]0\\[aq];\n"
550 " }\n"
551 " printf(\"After encrypting: %s\\[rs]n\", txt);\n"
552 "\\&\n"
553 " encrypt(buf, 1);\n"
554 " for (size_t i = 0; i E<lt> 8; i++) {\n"
555 " for (size_t j = 0, txt[i] = \\[aq]\\[rs]0\\[aq]; j E<lt> 8; j++) {\n"
556 " txt[i] |= buf[i * 8 + j] E<lt>E<lt> j;\n"
557 " }\n"
558 " txt[8] = \\[aq]\\[rs]0\\[aq];\n"
559 " }\n"
560 " printf(\"After decrypting: %s\\[rs]n\", txt);\n"
561 " exit(EXIT_SUCCESS);\n"
562 "}\n"
563 msgstr ""
564
565 #. SRC END
566 #. type: SH
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 #, no-wrap
570 msgid "SEE ALSO"
571 msgstr "СМОТРИТЕ ТАКЖЕ"
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, fuzzy
577 #| msgid "B<cbc_crypt>(3), B<crypt>(3), B<ecb_crypt>(3),"
578 msgid "B<cbc_crypt>(3), B<crypt>(3), B<ecb_crypt>(3)"
579 msgstr "B<cbc_crypt>(3), B<crypt>(3), B<ecb_crypt>(3),"
580
581 #. type: TH
582 #: debian-trixie
583 #, no-wrap
584 msgid "2024-06-15"
585 msgstr "15 июня 2024 г."
586
587 #. type: TH
588 #: debian-trixie
589 #, no-wrap
590 msgid "Linux man-pages 6.9.1"
591 msgstr "Страницы руководства Linux 6.9.1"
592
593 #. type: Plain text
594 #: debian-trixie
595 msgid "Password hashing library (I<libcrypt>, I<-lcrypt>)"
596 msgstr ""
597
598 #. type: TH
599 #: fedora-44 fedora-rawhide
600 #, no-wrap
601 msgid "2024-07-23"
602 msgstr "23 июля 2024 г."
603
604 #. type: TH
605 #: fedora-44 fedora-rawhide
606 #, no-wrap
607 msgid "Linux man-pages 6.13"
608 msgstr "Страницы руководства Linux 6.13"
609
610 #. type: TH
611 #: mageia-cauldron
612 #, no-wrap
613 msgid "Linux man-pages 6.17"
614 msgstr "Страницы руководства Linux 6.17"
615
616 #. type: TH
617 #: opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "Linux man-pages (unreleased)"
620 msgstr "Страницы руководства Linux (не выпущены)"