Category:OpenSSL: Difference between revisions

From Rosetta Code
Content added Content deleted
(OpenSSL lib)
 
(Extend description.)
 
Line 1: Line 1:
{{stub}}{{library}}
{{library}}
<cite>The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.</cite>
From the [http://www.openssl.org/ OpenSSL site]: <cite>The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.</cite>


OpenSSL provides libraries for [[C|C language]], and the [http://www.openssl.org/docs/apps/openssl.html <code>openssl(1)</code>] command for [[UNIX Shell|shell scripts]]. Several other languages provide access to OpenSSL. [[Ruby]] has <code>'openssl'</code> in its standard library.
* [http://www.openssl.org/ OpenSSL site]

OpenSSL has two libraries:

* [http://www.openssl.org/docs/crypto/crypto.html <code>crypto(3)</code>] implements cryptographic algorithms, such as ciphers, message digests, and X.509 certificates. <code>crypto(3)</code> also exposes features, including [[arbitrary-precision integers (included)|arbitrary-precision integers]] called BIGNUMs, and a secure random number generator.
* [http://www.openssl.org/docs/ssl/ssl.html <code>ssl(3)</code>] implements SSL and TLS.

To link OpenSSL to a C program, a typical [[Unix]] command is

cc -o program program.c -lcrypto -lssl

Latest revision as of 20:24, 26 March 2012

Library
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.

From the OpenSSL site: The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.

OpenSSL provides libraries for C language, and the openssl(1) command for shell scripts. Several other languages provide access to OpenSSL. Ruby has 'openssl' in its standard library.

OpenSSL has two libraries:

  • crypto(3) implements cryptographic algorithms, such as ciphers, message digests, and X.509 certificates. crypto(3) also exposes features, including arbitrary-precision integers called BIGNUMs, and a secure random number generator.
  • ssl(3) implements SSL and TLS.

To link OpenSSL to a C program, a typical Unix command is

cc -o program program.c -lcrypto -lssl