user2674414
user2674414

Reputation: 143

How to use openssl crypto lib?

can somebody advise me good "How to" or Manual. It is match micro articles how to use specific algorithms or very large books about crypto lib. I am trying to find something in between, something that would allow me to quickly start with this lib.

Upvotes: 0

Views: 1917

Answers (1)

jww
jww

Reputation: 102205

Can somebody advise me good "How to" or Manual?

You can find HowTo's sprinkled across the web.

The manual is located online at OpenSSL Documents. The same manual is installed locally, and you access it via the man pages. For example, you can find information on ciphers with ciphers(1). You can find it online at ciphers(1), or by typing man 1 ciphers.

You can also visit the OpenSSL wiki. Block ciphers are covered at EVP Symmetric Encryption and Decryption and EVP Authenticated Encryption and Decryption. MACs are covered at EVP Message Digests.

There are a couple of books, but they are a bit dated. They are still good reference since everything presented is still in use (there's just more stuff now). See Network Security with OpenSSL and SSL and TLS: Designing and Building Secure Systems.

Finally, when you can't find information on something, the last line is the source code. Nearly all functionality is demostrated in the various subcommands. For example, pkcs8 is a subcommand in openssl pkcs8 .... You can find the source code in <openssl src dir>/apps/pkcs8.c.

Upvotes: 2

Related Questions