libcrypto.so.0.9.7


 
Thread Tools Search this Thread
Operating Systems Solaris libcrypto.so.0.9.7
# 1  
Old 08-10-2010
libcrypto.so.0.9.7

Hi Can anyone tell me the use of libcrypto.so.0.9.7 ? I know it is used for SSH. Also is there a way to look into the content of these jars?

Also is there a way to uncompress the same?

i tried

# uncompress libcrypto.so.0.9.7

libcrypto.so.0.9.7.Z: No such file or directory

# jar xvf libcrypto.so.0.9.7


Both didn't work

Last edited by flinders1323; 08-10-2010 at 10:13 PM..
# 2  
Old 08-10-2010
libcrypto.so is a shared library - not a Java jar. From the OpenSSl documentation:

OVERVIEW

libcrypto consists of a number of sub-libraries that implement the individual algorithms.

The functionality includes symmetric encryption, public key cryptography and key agreement, certificate handling, cryptographic hash functions and a cryptographic pseudo-random number generator.

SYMMETRIC CIPHERS

blowfish(3), cast(3), des(3), idea(3), rc2(3), rc4(3), rc5(3)

PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT

dsa(3), dh(3), rsa(3)

CERTIFICATES

x509(3), x509v3(3)

AUTHENTICATION CODES, HASH FUNCTIONS

hmac(3), md2(3), md4(3), md5(3), mdc2(3), ripemd(3), sha(3)

AUXILIARY FUNCTIONS

err(3), threads(3), rand(3), OPENSSL_VERSION_NUMBER(3)

INPUT/OUTPUT, DATA ENCODING

asn1(3), bio(3), evp(3), pem(3), pkcs7(3), pkcs12(3)

INTERNAL FUNCTIONS

bn(3), buffer(3), lhash(3), objects(3), stack(3), txt_db(3)

There are lots of tools you can use to "see" what is in the library. The most useful to start with is probably nm.
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 08-10-2010
I have two lybcrypto files(Standard SUN and a third party one) . I want to compare the difference between them.

The results of cksum on the SUN one is
#cksum libcrypto.so.0.9.7
26732524211452916

and on the third party one is
#cksum libcrypto.so.0.9.7
17102110681627828
# 4  
Old 08-11-2010
With
Code:
/usr/ccs/bin/nm libcrypto.so.0.9.7

you can get the symbol table of the shared library. Look at the entries with type FUNC and binding GLOB, these are the functions defined in the library.
# 5  
Old 08-11-2010
I have already tried the " nm ". The results didn't make much sense Smilie
# 6  
Old 08-11-2010
Maybe the documentation of libcrypto at OpenSSL: Documents, crypto(3) helps.
# 7  
Old 08-11-2010
Quote:
Originally Posted by flinders1323
I have already tried the " nm ". The results didn't make much sense Smilie
What kind of differences are you expecting comparing two binary files ?
You might try "dump", "elfdump", "mcs" to analyze them but that would be still very low level.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Curl: fatal: libcrypto.so.1.0.0

Hi, I've installed curl with all despondency but when I try to start it I get: root@xxx> curl ld.so.1: curl: fatal: libcrypto.so.1.0.0: open failed: No such file or directory Killed Looks like I have to change/make symlinks but I don't know how/where. Any idia? ---------- Post... (3 Replies)
Discussion started by: mehrdad68
3 Replies

2. Programming

Linking in OpenSSL libcrypto Statically

I have a C++ program which includes lots of libraries, including openssl libcrypto. In fact, the g++ switches are: -lxml2 -lcrypto -lcurl etc. The problem is that when I try to run it on a different flavor of Linux, it complains that it cannot load libcrypto.so.8. I did some research and... (20 Replies)
Discussion started by: BrandonShw
20 Replies
Login or Register to Ask a Question