Like in the title, I want to encrypt data, which is sent over network. Because I
decided to use TCP and/or SCTP protocols I cannot use SSL/TLS. That’s why I want
to implement my own solution based on the SSL idea. Two peers will exchange symmetric
algorithm’s key (AES) using an asymmetric algorithm (RSA) first and then continue
communication encrypting data using the symmetric algorithm.
I develop my application in C++ for Linux. The problem is that I’m new to data
encryption, I had only few very general lectures at university about network
security… I’ll have more about this next year.
So far I figured out, that OpenSSL provides the sub-library libcrypto, which has
everything I need 🙂 But the manual pages aren’t too helpful,
especially for new users like me…
Can you recommend me any book or network resources about OpenSSL and cryptography
for programmers?
Network security with OpenSSL
OpenSSL: Open Source, Transport Layer Security, C (Programming Language), Cryptography, Unix-Like, Solaris (Operating System), Linux, Mac OS X, RSA Security
Applied Cryptography: Protocols, Algorithms, and Source Code in C
Related stuff
Recommending the first one (O’Reilly).