XCRYPT(3) Library Functions Manual XCRYPT(3) xencrypt, xdecrypt, passwd2des - RFS LIBRARY 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() | | | +----------------------------+----------------------------------------------------------+--------------------------+ These functions are available since glibc 2.1. . . cbc_crypt(3) Azamat Hackimov , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . XCRYPT(3)