|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alexcei Pestunovich 2:5015/44.2 13 Apr 2001 09:13:00 To : gray@spider.ru Subject : FreeBSD-4.2 + DES -------------------------------------------------------------------------------- .RFC-References: <3677582915@spider.ru> Hello gray@spider.ru. 13 Apr 01 06:14, gray@spider.ru wrote to All: g> Как заставить функцию crypt() шифровать в DES? Она у меня шифрует g> только в MD5. Там что, вообще нету DES? В 4.1.1 еще все нормально... Да вроде все нормально. С обычным salt шифрует DES, а при использовании Modular crypt - MD5. Man 3 crypt. И еще... =============================================== Identifying which library is being used by the programs on your system is easy as well. Any program that uses crypt is linked against libcrypt which for each type of library is a symbolic link to the appropriate implementation. For example, on a system using the DES versions: % ls -l /usr/li/libcrypt* lrwxr-xr-x 1 root wheel 13 Mar 19 06:56 libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 root wheel 18 Mar 19 06:56 libcrypt.so.2.0 -> libdescrypt.so.2.0 lrwxr-xr-x 1 root wheel 15 Mar 19 06:56 libcrypt_p.a -> libdescrypt_p.a On a system using the MD5-based libraries, the same links will be present, but the target will be libscrypt rather than libdescrypt. ================================================ Alexcei --- GEcho 1.11+ * Origin: (2:5015/44.2) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/27453ad6e2de.html, оценка из 5, голосов 10
|