I have a little problem with a C library: Byte Flood Cryptography. ( http://bfcrypt.sourceforge.net ).
I would create a program which use both linux sockets and Byte Flood Cryptography (the Byte Flood Cryptography functions are near from those provided from stdio.h, and this, I have understand).
I don't know how to 'bind' the two stream. I would encrypt data directly 开发者_如何学编程to the network.
How can I do?? (I don't want to use temporary array or files)Don't use that library. Use only ciphers and protocols that were designed and reviewed by professional cryptographers, not crackpots who talk about "non-mathematical" approaches to cipher design.
I'd reach for GnuTLS (for C programs) or Botan (if C++ is okay), myself. OpenSSL is popular but has a weird license and should not be used for new code.
精彩评论