.\" Tłumaczenie wersji man-pages 1.39 - wrzesień 2001 PTM .\" Andrzej Krzysztofowicz .\" .\" Copyright 2000 Nicolás Lichtmaier .\" Created 2000-07-22 00:52-0300 .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .TH ENCRYPT 3 2000-07-22 GNU "Podręcznik programisty Linuksa" .SH NAZWA encrypt \- Szyfrowanie 64-bitowych komunikatów .SH SKŁADNIA .B #define _XOPEN_SOURCE .sp .B #include .sp .BI "void encrypt(char " block "[64], int " edflag ); .br .BI "void setkey(const char *" key ); .SH OPIS \fI Uwaga! To tłumaczenie może być nieaktualne!\fP .PP Funkcje te szyfrują i rozszyfrowują 64-bitowe komunikaty. Funkcja setkey() ustawia klucz używany przez encrypt(). Używany tu parametr .I key jest tablicą bajtów, z których każdy ma wartoć numeryczną 1 lub 0. Bajty key[n], gdzie n=8*q-1, są ignorowane tak, że używany klucz jest 56-bitowy. .PP Funkcja setkey() modyfikuje przekazany bufor, kodując go gdy .I edflag wynosi 0, a rozkodowując gdy przekazano 1. .PP Funkcje te nie są wielobieżne. .SH "WARTOŚĆ ZWRACANA" Funkcje te nie zwracają żadnej wartości. .SH "ZGODNE Z" SVID, SUSv2 .SH "ZOBACZ TAKŻE" .BR crypt (3) .SH "INFORMACJE O TŁUMACZENIU" Powyższe tłumaczenie pochodzi z nieistniejącego już Projektu Tłumaczenia Manuali i \fImoże nie być aktualne\fR. W razie zauważenia różnic między powyższym opisem a rzeczywistym zachowaniem opisywanego programu lub funkcji, prosimy o zapoznanie się z oryginalną (angielską) wersją strony podręcznika za pomocą polecenia: .IP man \-\-locale=C 3 encrypt .PP Prosimy o pomoc w aktualizacji stron man \- więcej informacji można znaleźć pod adresem http://sourceforge.net/projects/manpages\-pl/.