XCRYPT(3) Library Functions Manual XCRYPT(3) xencrypt, xdecrypt, passwd2des - RFS Standard C library (libc, -lc) #include void passwd2des(char *passwd, char *key); int xencrypt(char *secret, char *passwd); int xdecrypt(char *secret, char *passwd); WARNING: Do not use these functions in new code. They do not achieve any type of acceptable cryptographic security guarantees. passwd2des() passwd key 8 , DES. . passwd DES. xencrypt() ASCII- secret , 16, DES, passwd passwd2des() secret . xdecrypt() . xencrypt() xdecrypt() 1 0 . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |passwd2des(), xencrypt(), | | MT-Safe | |xdecrypt() | | | +----------------------------+----------------------------------------------------------+--------------------------+ glibc 2.1. . cbc_crypt(3) () Azamat Hackimov , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 23 2024 . XCRYPT(3)