# Romanian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Remus-Gabriel Chelu , 2025. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.28.0\n" "POT-Creation-Date: 2025-12-07 15:32+0100\n" "PO-Revision-Date: 2025-12-11 10:25+0100\n" "Last-Translator: Remus-Gabriel Chelu \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" "X-Generator: Poedit 3.6\n" #. type: Dd #: debian-trixie debian-unstable #, no-wrap msgid "October 11, 2017" msgstr "11 octombrie 2017" #. type: Dt #: debian-trixie debian-unstable #, no-wrap msgid "CRYPT 3" msgstr "CRYPT 3" #. type: Os #: debian-trixie debian-unstable #, no-wrap msgid "Openwall Project" msgstr "Openwall Project" #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "NUME" #. type: Plain text #: debian-trixie debian-unstable msgid "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>" msgstr "E<.Nm crypt , crypt_r , crypt_rn , crypt_ra>" #. type: Nd #: debian-trixie debian-unstable #, no-wrap msgid "passphrase hashing" msgstr "criptarea (tăierea și amestecarea părților) frazei de acces" #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTECA" #. type: Plain text #: debian-trixie debian-unstable msgid "E<.Lb libcrypt>" msgstr "E<.Lb libcrypt>" #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "SINOPSIS" #. type: In #: debian-trixie debian-unstable #, no-wrap msgid "crypt.h" msgstr "crypt.h" #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const " "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char " "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> " "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa " "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int " "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char " "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int " "*size\"> E<.Fc>" msgstr "" "E<.Ft \"char *\"> E<.Fo crypt> E<.Fa \"const char *phrase\"> E<.Fa \"const " "char *setting\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_r> E<.Fa \"const char " "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"struct crypt_data *data\"> " "E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_rn> E<.Fa \"const char *phrase\"> E<.Fa " "\"const char *setting\"> E<.Fa \"struct crypt_data *data\"> E<.Fa \"int " "size\"> E<.Fc> E<.Ft \"char *\"> E<.Fo crypt_ra> E<.Fa \"const char " "*phrase\"> E<.Fa \"const char *setting\"> E<.Fa \"void **data\"> E<.Fa \"int " "*size\"> E<.Fc>" #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIERE" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> " "functions irreversibly E<.Dq hash> E<.Fa phrase> for storage in the system " "password database E<.Pq Xr shadow 5> using a cryptographic E<.Dq hashing " "method.> The result of this operation is called a E<.Dq hashed passphrase> " "or just a E<.Dq hash.> Hashing methods are described in E<.Xr crypt 5>." msgstr "" "Funcțiile E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> și E<.Nm crypt_ra> " "aplică în mod ireversibil E<.Dq hash> (tăierea și amestecarea părților) la " "E<.Fa frază> pentru stocarea în baza de date a parolelor sistemului E<.Pq Xr " "shadow 5> utilizând o metodă criptografică E<.Dq hashing> (tăierea și " "amestecarea părților). Rezultatul acestei operații se numește E<.Dq hashed " "passphrase> (tăierea și amestecarea părților frazei de acces) sau pur și " "simplu E<.Dq hash.> Metodele de „hash” sunt descrise în E<.Xr crypt 5>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Fa setting> controls which hashing method to use, and also supplies " "various parameters to the chosen method, most importantly a random E<.Dq " "salt> which ensures that no two stored hashes are the same, even if the " "E<.Fa phrase> strings are the same." msgstr "" "Parametrii E<.Fa setting> controlează metoda de „hash” utilizată și " "furnizează, de asemenea, diverși parametri pentru metoda aleasă, cel mai " "important fiind un „salt (un praf de sare)” aleatoriu E<.Dq> care asigură că " "nu există două „hash-uri” stocate identice, chiar dacă șirurile E<.Fa fraza> " "sunt identice." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The E<.Fa data> argument to E<.Nm crypt_r> is a structure of type E<.Vt " "\"struct crypt_data\">. It has at least these fields:" msgstr "" "Argumentul E<.Fa data> pentru E<.Nm crypt_r> este o structură de tip E<.Vt " "„struct crypt_data”>. Aceasta are cel puțin următoarele câmpuri:" #. type: Plain text #: debian-trixie debian-unstable #, no-wrap msgid "" "struct crypt_data {\n" " char output[CRYPT_OUTPUT_SIZE];\n" " char setting[CRYPT_OUTPUT_SIZE];\n" " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n" " char initialized;\n" "};\n" msgstr "" "struct crypt_data {\n" " char output[CRYPT_OUTPUT_SIZE];\n" " char setting[CRYPT_OUTPUT_SIZE];\n" " char input[CRYPT_MAX_PASSPHRASE_SIZE];\n" " char initialized;\n" "};\n" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Upon a successful return from E<.Nm crypt_r>, the hashed passphrase will be " "stored in E<.Fa output>. Applications are encouraged, but not required, to " "use the E<.Fa input> and E<.Fa setting> fields to store the strings that " "they will pass as E<.Fa input phrase> and E<.Fa setting> to E<.Nm crypt_r>. " "This will make it easier to erase all sensitive data after it is no longer " "needed." msgstr "" "După o returnare cu succes din E<.Nm crypt_r>, fraza de acces hash va fi " "stocată în E<.Fa output>. Aplicațiile sunt încurajate, dar nu obligate, să " "utilizeze câmpurile E<.Fa input> și E<.Fa setting> pentru a stoca șirurile " "de caractere pe care le vor transmite ca E<.Fa input phrase> și E<.Fa " "setting> către E<.Nm crypt_r>. Acest lucru va facilita ștergerea tuturor " "datelor sensibile după ce acestea nu mai sunt necesare." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The E<.Fa initialized> field must be set to zero before the first time a " "E<.Vt \"struct crypt_data\"> object is first used in a call to E<.Fn " "crypt_r>. We recommend zeroing the entire object, not just E<.Fa " "initialized> and not just the documented fields, before the first use. (Of " "course, do this before storing anything in E<.Fa setting> and E<.Fa input>.)" msgstr "" "Câmpul E<.Fa initialized> trebuie să fie pus la zero înainte de prima " "utilizare a unui obiect E<.Vt „struct crypt_data”> într-un apel către E<.Fn " "crypt_r>. Recomandăm să puneți la zero întregul obiect, nu doar E<.Fa " "initialized> și nu doar câmpurile documentate, înainte de prima utilizare. " "(Desigur, faceți acest lucru înainte de a stoca orice în E<.Fa setting> și " "E<.Fa input>.)" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The E<.Fa data> argument to E<.Nm crypt_rn> should also point to a E<.Vt " "\"struct crypt_data\"> object, and E<.Fa size> should be the size of that " "object, cast to E<.Vt int>. When used with E<.Nm crypt_rn>, the entire " "E<.Fa data> object (except for the E<.Fa input> and E<.Fa setting> fields) " "must be zeroed before its first use; this is not just a recommendation, as " "it is for E<.Nm crypt_r>. Otherwise, the fields of the object have the same " "uses that they do for E<.Nm crypt_r>." msgstr "" "Argumentul E<.Fa data> pentru E<.Nm crypt_rn> trebuie să indice, de " "asemenea, un obiect E<.Vt „struct crypt_data”>, iar E<.Fa size> trebuie să " "fie dimensiunea acelui obiect, convertită în E<.Vt int>. Când este utilizat " "cu E<.Nm crypt_rn>, întregul obiect E<.Fa data> (cu excepția câmpurilor " "E<.Fa input> și E<.Fa setting>) trebuie să fie pus la zero înainte de prima " "utilizare; aceasta nu este doar o recomandare, așa cum este în cazul E<.Nm " "crypt_r>. În rest, câmpurile obiectului au aceleași utilizări ca și în cazul " "E<.Nm crypt_r>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "On the first call to E<.Nm crypt_ra>, E<.Fa data> should be the address of a " "E<.Vt \"void *\"> variable set to NULL, and E<.Fa size> should be the " "address of an E<.Vt int> variable set to zero. E<.Nm crypt_ra> will " "allocate and initialize a E<.Vt \"struct crypt_data\"> object, using E<.Xr " "malloc 3>, and write its address and size into the variables pointed to by " "E<.Fa data> and E<.Fa size>. These can be reused in subsequent calls. " "After the application is done hashing passphrases, it should deallocate the " "E<.Vt \"struct crypt_data\"> object using E<.Xr free 3>." msgstr "" "La prima apelare a E<.Nm crypt_ra>, E<.Fa data> trebuie să fie adresa unei " "variabile E<.Vt „void *”> definită la NULL, iar E<.Fa size> trebuie să fie " "adresa unei variabile E<.Vt int> definită la zero. E<.Nm crypt_ra> va aloca " "și inițializa un obiect E<.Vt „struct crypt_data”>, utilizând E<.Xr malloc " "3>, și va scrie adresa și dimensiunea acestuia în variabilele indicate de " "E<.Fa data> și E<.Fa size>. Acestea pot fi reutilizate în apelurile " "ulterioare. După ce aplicația a terminat „hash-uirea” (tăierea și " "amestecarea părților) frazelor de acces, ar trebui să realoce obiectul E<.Vt " "„struct crypt_data”> folosind E<.Xr free 3>." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "VALORI RETURNATE" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Upon successful completion, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, " "and E<.Nm crypt_ra> return a pointer to a string which encodes both the " "hashed passphrase, and the settings that were used to encode it. This " "string is directly usable as E<.Fa setting> in other calls to E<.Nm crypt>, " "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra>, and as E<.Fa prefix> " "in calls to E<.Nm crypt_gensalt>, E<.Nm crypt_gensalt_rn>, and E<.Nm " "crypt_gensalt_ra>. It will be entirely printable ASCII, and will not " "contain whitespace or the characters E<.Sq Li \\&:>, E<.Sq Li \\&;>, E<.Sq " "Li \\&*>, E<.Sq Li \\&!>, or E<.Sq Li \\&\\e>. See E<.Xr crypt 5> for more " "detail on the format of hashed passphrases." msgstr "" "După finalizarea cu succes, E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> și " "E<.Nm crypt_ra> returnează un indicator către un șir care codifică atât " "fraza de acces „hash-uită”, cât și parametrii utilizați pentru codificarea " "acesteia. Acest șir poate fi utilizat direct ca E<.Fa setting> în alte " "apeluri către E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn> și E<.Nm " "crypt_ra> și ca E<.Fa prefix> în apeluri către E<.Nm crypt_gensalt>, E<.Nm " "crypt_gensalt_rn> și E<.Nm crypt_gensalt_ra>. Va fi în întregime imprimabil " "ASCII și nu va conține spații albe sau caracterele E<.Sq Li \\&:>, E<.Sq Li " "\\&;>, E<.Sq Li \\&*>, E<.Sq Li \\&!> sau E<.Sq Li \\&\\e>. Consultați E<.Xr " "crypt 5> pentru mai multe detalii despre formatul frazelor de acces „hash-" "uite”." #. type: Plain text #: debian-trixie msgid "" "E<.Nm crypt> places its result in a static storage area, which will be " "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call " "E<.Nm crypt> from multiple threads simultaneously." msgstr "" "E<.Nm crypt> plasează rezultatul într-o zonă de stocare statică, care va fi " "suprascrisă de apelurile ulterioare către E<.Nm crypt>. Nu este sigur să " "apelați E<.Nm crypt> din mai multe fire de execuție simultan." #. type: Plain text #: debian-trixie msgid "" "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in " "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call " "them from multiple threads simultaneously, as long as a separate E<.Fa data> " "object is used for each thread." msgstr "" "E<.Nm crypt_r>, E<.Nm crypt_rn> și E<.Nm crypt_ra> plasează rezultatul în " "câmpul E<.Fa output> al argumentului E<.Fa data>. Este sigur să le apelați " "simultan din mai multe fire de execuție, atâta timp cât se utilizează un " "obiect E<.Fa data> separat pentru fiecare fir de execuție." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Upon error, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> write an " "E<.Em invalid> hash to the E<.Fa output> field of their E<.Fa data> " "argument, and E<.Nm crypt> writes an invalid hash to its static storage " "area. This string will be shorter than 13 characters, will begin with a " "E<.Sq Li \\&*>, and will not compare equal to E<.Fa setting>." msgstr "" "În cazul unei erori, E<.Nm crypt_r>, E<.Nm crypt_rn> și E<.Nm crypt_ra> " "scriu un hash E<.Em nevalid> în câmpul E<.Fa output> al argumentului lor " "E<.Fa data>, iar E<.Nm crypt> scrie un hash nevalid în zona sa de stocare " "statică. Acest șir va avea mai puțin de 13 caractere, va începe cu E<.Sq Li " "\\&*> și nu va fi egal cu E<.Fa setting>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Upon error, E<.Nm crypt_rn> and E<.Nm crypt_ra> return a null pointer. " "E<.Nm crypt_r> and E<.Nm crypt> may also return a null pointer, or they may " "return a pointer to the invalid hash, depending on how libcrypt was " "configured. (The option to return the invalid hash is for compatibility " "with old applications that assume that E<.Nm crypt> cannot return a null " "pointer. See E<.Sx PORTABILITY NOTES> below.)" msgstr "" "În cazul unei erori, E<.Nm crypt_rn> și E<.Nm crypt_ra> returnează un " "indicator nul. E<.Nm crypt_r> și E<.Nm crypt> pot returna, de asemenea, un " "indicator nul sau pot returna un indicator către hash-ul nevalid, în funcție " "de modul în care a fost configurată libcrypt; (opțiunea de a returna hash-ul " "nevalid este pentru compatibilitate cu aplicațiile vechi care presupun că " "E<.Nm crypt> nu poate returna un indicator nul. A se vedea secțiunea E<.Sx " "NOTE PRIVIND PORTABILITATEA> de mai jos.)" #. type: Plain text #: debian-trixie debian-unstable msgid "" "All four functions set E<.Va errno> when they fail. When the functions " "succeed, the value of E<.Va errno> is unspecified and must not be relied " "upon." msgstr "" "Toate cele patru funcții definesc E<.Va errno> atunci când eșuează. Când " "funcțiile reușesc, valoarea E<.Va errno> este nespecificată și nu trebuie " "luată în considerare." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "ERRORS" msgstr "ERORI-IEȘIRE" #. type: It #: debian-trixie debian-unstable #, no-wrap msgid "Er EINVAL" msgstr "Er EINVAL" #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Fa setting> is invalid, or requests a hashing method that is not " "supported." msgstr "" "E<.Fa setting> este nevalid sau solicită o metodă de hash care nu este " "acceptată." #. type: It #: debian-trixie debian-unstable #, no-wrap msgid "Er ERANGE" msgstr "Er ERANGE" #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Fa phrase> is too long (more than E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> " "characters; some hashing methods may have lower limits)." msgstr "" "E<.Fa phrase> este prea lungă (mai mult de E<.Dv CRYPT_MAX_PASSPHRASE_SIZE> " "caractere; unele metode de hash pot avea limite mai mici)." #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Nm crypt_rn> only: E<.Fa size> is too small for the hashing method " "requested by E<.Fa setting>." msgstr "" "Numai E<.Nm crypt_rn>: parametrul E<.Fa size> este prea mic pentru metoda de " "hash solicitată de E<.Fa setting>." #. type: It #: debian-trixie debian-unstable #, no-wrap msgid "Er ENOMEM" msgstr "Er ENOMEM" #. type: Plain text #: debian-trixie debian-unstable msgid "Failed to allocate internal scratch memory." msgstr "Nu s-a putut aloca memoria internă temporară." #. type: Plain text #: debian-trixie debian-unstable msgid "E<.Nm crypt_ra> only: failed to allocate memory for E<.Fa data>." msgstr "Numai E<.Nm crypt_ra>: nu s-a putut aloca memorie pentru E<.Fa data>." #. type: It #: debian-trixie debian-unstable #, no-wrap msgid "Er ENOSYS No or Er EOPNOTSUPP" msgstr "Er ENOSYS No sau Er EOPNOTSUPP" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Hashing passphrases is not supported at all on this installation, or the " "hashing method requested by E<.Fa setting> is not supported. These error " "codes are not used by this version of libcrypt, but may be encountered on " "other systems." msgstr "" "Hash-ul parolelor nu este deloc acceptat în această instalare sau metoda de " "hash solicitată de E<.Fa setting> nu este acceptată. Aceste coduri de " "eroare nu sunt utilizate de această versiune a libcrypt, dar pot apărea în " "alte sisteme." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "PORTABILITY NOTES" msgstr "NOTE PRIVIND PORTABILITATEA" #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Nm crypt> is included in POSIX, but E<.Nm crypt_r>, E<.Nm crypt_rn>, and " "E<.Nm crypt_ra> are not part of any standard." msgstr "" "E<.Nm crypt> este inclus în POSIX, dar E<.Nm crypt_r>, E<.Nm crypt_rn> și " "E<.Nm crypt_ra> nu fac parte din niciun standard." #. type: Plain text #: debian-trixie debian-unstable msgid "" "POSIX does not specify any hashing methods, and does not require hashed " "passphrases to be portable between systems. In practice, hashed passphrases " "are portable as long as both systems support the hashing method that was " "used. However, the set of supported hashing methods varies considerably " "from system to system." msgstr "" "POSIX nu specifică nicio metodă de hash și nu impune ca parolele hash să fie " "portabile între sisteme. În practică, parolele hash sunt portabile atâta " "timp cât ambele sisteme acceptă metoda de hash utilizată. Cu toate acestea, " "setul de metode de hash acceptate variază considerabil de la un sistem la " "altul." #. type: Plain text #: debian-trixie debian-unstable msgid "" "The behavior of E<.Nm crypt> on errors isn't well standardized. Some " "implementations simply can't fail (except by crashing the program), others " "return a null pointer or a fixed string. Most implementations don't set " "E<.Va errno>, but some do. POSIX specifies returning a null pointer and " "setting E<.Va errno>, but it defines only one possible error, E<.Er ENOSYS>, " "in the case where E<.Nm crypt> is not supported at all. Some older " "applications are not prepared to handle null pointers returned by E<.Nm " "crypt>. The behavior described above for this implementation, setting E<.Va " "errno> and returning an invalid hash different from E<.Fa setting>, is " "chosen to make these applications fail closed when an error occurs." msgstr "" "Comportamentul E<.Nm crypt> în cazul erorilor nu este bine standardizat. " "Unele implementări pur și simplu nu pot eșua (cu excepția blocării " "programului), altele returnează un indicator nul sau un șir fix. Majoritatea " "implementărilor nu definesc E<.Va errno>, dar unele o fac. POSIX specifică " "returnarea unui indicator nul și definirea E<.Va errno>, dar definește o " "singură eroare posibilă, E<.Er ENOSYS>, în cazul în care E<.Nm crypt> nu " "este deloc acceptat. Unele aplicații mai vechi nu sunt pregătite să " "gestioneze indicatorii nul returnați de E<.Nm crypt>. Comportamentul descris " "mai sus pentru această implementare, stabilirea E<.Va errno> și returnarea " "unui hash nevalid diferit de E<.Fa setting>, este ales pentru a face ca " "aceste aplicații să eșueze prin terminarea operației atunci când apare o " "eroare." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Due to historical restrictions on the export of cryptographic software from " "the USA, E<.Nm crypt> is an optional POSIX component. Applications should " "therefore be prepared for E<.Nm crypt> not to be available, or to always " "fail (setting E<.Va errno> to E<.Er ENOSYS>) at runtime." msgstr "" "Datorită restricțiilor istorice privind exportul de software criptografic " "din SUA, E<.Nm crypt> este o componentă POSIX opțională. Aplicațiile " "trebuie să fie pregătite pentru eventualitatea ca E<.Nm crypt> să nu fie " "disponibilă sau să eșueze întotdeauna ( stabilind E<.Va errno> la E<.Er " "ENOSYS>) în timpul rulării." #. type: Plain text #: debian-trixie debian-unstable msgid "POSIX specifies that E<.Nm crypt> is declared in" msgstr "POSIX specifică faptul că E<.Nm crypt> este declarat în" #. type: In #: debian-trixie debian-unstable #, no-wrap msgid "unistd.h ," msgstr "unistd.h ," #. type: Plain text #: debian-trixie debian-unstable msgid "" "but only if the macro E<.Dv _XOPEN_CRYPT> is defined and has a value greater " "than or equal to zero. Since libcrypt does not provide" msgstr "" "dar numai dacă macrocomanda E<.Dv _XOPEN_CRYPT> este definită și are o " "valoare mai mare sau egală cu zero. Deoarece libcrypt nu furnizează" #. type: Plain text #: debian-trixie debian-unstable msgid "" "it declares E<.Nm crypt>, E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm " "crypt_ra> in" msgstr "aceasta declară crypt, crypt_r, crypt_rn și crypt_ra în" #. type: Plain text #: debian-trixie debian-unstable msgid "instead." msgstr "." #. type: Plain text #: debian-trixie debian-unstable msgid "" "On a minority of systems (notably recent versions of Solaris), E<.Nm crypt> " "uses a thread-specific static storage buffer, which makes it safe to call " "from multiple threads simultaneously, but does not prevent each call within " "a thread from overwriting the results of the previous one." msgstr "" "Pe o minoritate de sisteme (în special versiunile recente ale Solaris), " "E<.Nm crypt> utilizează un tampon de stocare static specific firelor de " "execuție, ceea ce face ca apelarea simultană din mai multe fire de execuție " "să fie sigură, dar nu împiedică fiecare apel dintr-un fir de execuție să " "suprascrie rezultatele celui anterior." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "BUGS" msgstr "ERORI" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Some implementations of E<.Nm crypt>, upon error, return an invalid hash " "that is stored in a read-only location or only initialized once, which means " "that it is only safe to erase the buffer pointed to by the E<.Nm crypt> " "return value if an error did not occur." msgstr "" "Unele implementări ale E<.Nm crypt>, în cazul unei erori, returnează un hash " "nevalid care este stocat într-o locație numai pentru citire sau inițializat " "o singură dată, ceea ce înseamnă că este sigur să ștergeți tamponul indicat " "de valoarea returnată de E<.Nm crypt> numai dacă nu a apărut o eroare." #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Vt \"struct crypt_data\"> may be quite large (32kB in this implementation " "of libcrypt; over 128kB in some other implementations). This is large " "enough that it may be unwise to allocate it on the stack." msgstr "" "E<.Vt „struct crypt_data”> poate fi destul de mare (32 ko în această " "implementare a libcrypt; peste 128 ko în alte implementări). Este suficient " "de mare încât ar putea fi neînțelept să o alocați pe stivă." #. type: Plain text #: debian-trixie debian-unstable msgid "" "Some recently designed hashing methods need even more scratch memory, but " "the E<.Nm crypt_r> interface makes it impossible to change the size of E<.Vt " "\"struct crypt_data\"> without breaking binary compatibility. The E<.Nm " "crypt_rn> interface could accommodate larger allocations for specific " "hashing methods, but the caller of E<.Nm crypt_rn> has no way of knowing how " "much memory to allocate. E<.Nm crypt_ra> does the allocation itself, but " "can only make a single call to E<.Xr malloc 3>." msgstr "" "Unele metode de hash proiectate recent necesită și mai multă memorie " "temporară, dar interfața E<.Nm crypt_r> face imposibilă modificarea " "dimensiunii E<.Vt „struct crypt_data”> fără a afecta compatibilitatea " "binară. Interfața E<.Nm crypt_rn> ar putea acomoda alocări mai mari pentru " "metode specifice de hash, dar apelantul E<.Nm crypt_rn> nu are cum să știe " "câtă memorie să aloce. E<.Nm crypt_ra> efectuează alocarea, dar poate " "efectua o singură apelare către E<.Xr malloc 3>." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "ATTRIBUTES" msgstr "ATRIBUTE" #. type: Plain text #: debian-trixie debian-unstable msgid "" "For an explanation of the terms used in this section, see E<.Xr attributes " "7>." msgstr "" "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " "E<.Xr attributes 7>." #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "Interface" msgstr "Interfață" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "Attribute" msgstr "Atribut" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "Value" msgstr "Valoare" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid ".Nm crypt\n" msgstr ".Nm crypt\n" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "Thread safety" msgstr "Siguranța firelor" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "MT-Unsafe race:crypt" msgstr "MT-Unsafe race:crypt" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid ".Nm crypt_r ,\n" msgstr ".Nm crypt_r ,\n" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid ".Nm crypt_rn ,\n" msgstr ".Nm crypt_rn ,\n" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid ".Nm crypt_ra\n" msgstr ".Nm crypt_ra\n" #. type: tbl table #: debian-trixie debian-unstable #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "ISTORIC" #. type: Plain text #: debian-trixie debian-unstable msgid "" "A rotor-based E<.Nm crypt> function appeared in E<.At v6>. The E<.Dq " "traditional> DES-based E<.Nm crypt> first appeared in E<.At v7>." msgstr "" "O funcție E<.Nm crypt> bazată pe un rotor a apărut în E<.At v6>. Funcția " "E<.Nm crypt> E<.Dq tradițională> bazată pe DES a apărut pentru prima dată în " "E<.At v7>." #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Nm crypt_r> originates with the GNU C Library. There's also a E<.Nm " "crypt_r> function on HP-UX and MKS Toolkit, but the prototypes and semantics " "differ." msgstr "" "E<.Nm crypt_r> provine din biblioteca GNU C. Există, de asemenea, o funcție " "E<.Nm crypt_r> în HP-UX și MKS Toolkit, dar prototipurile și semantica " "diferă." #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Nm crypt_rn> and E<.Nm crypt_ra> originate with the Openwall project." msgstr "E<.Nm crypt_rn> și E<.Nm crypt_ra> provin din proiectul Openwall." #. type: Sh #: debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "CONSULTAȚI ȘI" #. type: Plain text #: debian-trixie debian-unstable msgid "" "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow " "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr " "shadow 5>, E<.Xr pam 8>" msgstr "" "E<.Xr crypt_gensalt 3>, E<.Xr getpass 3>, E<.Xr getpwent 3>, E<.Xr shadow " "3>, E<.Xr login 1>, E<.Xr passwd 1>, E<.Xr crypt 5>, E<.Xr passwd 5>, E<.Xr " "shadow 5>, E<.Xr pam 8>" #. type: Plain text #: debian-unstable msgid "" "E<.Nm crypt> places its result in a static storage area, which will be " "overwritten by subsequent calls to E<.Nm crypt>. It is not safe to call " "E<.Nm crypt> from multiple threads simultaneously. It's also not " "recommended to use the pointer returned as an argument for another call to " "E<.Nm crypt>, as some implementations, including earlier releases of " "libxcrypt, may overwrite the underlying static output buffer before " "computing the hash." msgstr "" "E<.Nm crypt> plasează rezultatul într-o zonă de stocare statică, care va fi " "suprascrisă de apelurile ulterioare către E<.Nm crypt>. Nu este sigur să " "apelați E<.Nm crypt> din mai multe fire de execuție simultan. De asemenea, " "nu este recomandat să utilizați indicatorul returnat ca argument pentru o " "altă apelare a E<.Nm crypt>, deoarece unele implementări, inclusiv " "versiunile anterioare ale libxcrypt, pot suprascrie tamponul de ieșire " "static subiacent înainte de calcularea hash-ului." #. type: Plain text #: debian-unstable msgid "" "E<.Nm crypt_r>, E<.Nm crypt_rn>, and E<.Nm crypt_ra> place their result in " "the E<.Fa output> field of their E<.Fa data> argument. It is safe to call " "them from multiple threads simultaneously, as long as a separate E<.Fa data> " "object is used for each thread. It's also not recommended to use the " "pointer returned as an argument for another call to E<.Nm crypt_r>, E<.Nm " "crypt_rn>, and E<.Nm crypt_ra> using the same E<.Fa data> object for " "subsequent calls, as some implementations, including earlier releases of " "libxcrypt, may overwrite the E<.Fa output> field of the passed E<.Fa data> " "argument before computing the hash. Calling E<.Nm crypt_ra> with the E<.Fa " "phrase> and/or E<.Fa setting> parameters located within a passed E<.Fa data> " "object which is smaller than the size of E<.Vt \"struct crypt_data\"> is not " "recommended, as some implementations, including earlier releases of " "libxcrypt, may not preserve the passed literals, if the E<.Fa data> object " "needs to be altered." msgstr "" "E<.Nm crypt_r>, E<.Nm crypt_rn> și E<.Nm crypt_ra> plasează rezultatul în " "câmpul E<.Fa output> al argumentului E<.Fa data>. Este sigur să le apelați " "simultan din mai multe fire, atâta timp cât se utilizează un obiect E<.Fa " "data> separat pentru fiecare fir. De asemenea, nu este recomandat să " "utilizați indicatorul returnat ca argument pentru o altă apelare a E<.Nm " "crypt_r>, E<.Nm crypt_rn> și E<.Nm crypt_ra> utilizând același obiect E<.Fa " "data> pentru apelări ulterioare, deoarece unele implementări, inclusiv " "versiunile anterioare ale libxcrypt, pot suprascrie câmpul E<.Fa output> al " "argumentului E<.Fa data> transmis înainte de calcularea hash-ului. Nu se " "recomandă apelarea E<.Nm crypt_ra> cu parametrii E<.Fa phrase> și/sau E<.Fa " "setting> aflați într-un obiect E<.Fa data> transmis care este mai mic decât " "dimensiunea E<.Vt „struct crypt_data”>, deoarece unele implementări, " "inclusiv versiunile anterioare ale libxcrypt, pot să nu păstreze literalele " "transmise, dacă obiectul E<.Fa data> trebuie modificat."