LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   what is /lib/libcrypt? (https://www.linuxquestions.org/questions/linux-software-2/what-is-lib-libcrypt-766840/)

melcataclysm 11-04-2009 11:14 AM

what is /lib/libcrypt?
 
Hi all
I'm developing an application that must encrypt some data.
I've found in my system a library called libcrypt.so in /lib, but I can't find any documentation.

What is this library and where can I found the APIs?
(it is obvious that googling did not give any results)

Thank you!

mostlyharmless 11-04-2009 11:31 AM

I believe that's the LUKS library, recently renamed to libcryptsetup.so (http://code.google.com/p/cryptsetup/...yptsetup110rc1) so that the API should be documented in libcryptsetup.h

knudfl 11-04-2009 01:50 PM

'libcrypt.so.X.x is from the package 'glibc'

The latest version /lib/libcrypt-2.10.1.so is from glibc-2.10.1 .
The link libcrypt.so is most often /usr/lib/libcrypt.so

There is not much info to find in the glibc documentation,
.. or is it is just difficult to find ...

Suggest : look into the glibc source code for answers.
.....


All times are GMT -5. The time now is 06:59 AM.