读好书,交益友
发布时间:2014-05-23 12:27:58
发现使用telnet发送邮件,过于麻烦首先编辑脚本HELO host.example.comMAIL FROM:<test@host.example.com>RCPT TO:<bob@example.com>DATAFrom: [Alice] <alice@geek.com>To: <bob@example.com>Date: Mon, 12 Apr 2010 14:21:26 -0400Subject: Test MessageHi there! This is supposed to be a real email...Hav.........【阅读全文】
发布时间:2014-05-21 17:20:04
先编译poco然后连接库ln -s /usr/lib/libPocoData.so.16 /usr/lib64/libPocoData.so.16 ln -s /usr/lib/libPocoDataSQLite.so.16 /usr/lib64/libPocoDataSQLite.so.16 ln -s /usr/lib/libPocoFoundation.so.16 /usr/lib64/libPocoFoundation.so.16 例子程序点击(此处)折叠或打开.........【阅读全文】
发布时间:2014-05-19 17:19:07
最近静态安装poco,export PLATFORM_FLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -staticexport PLATFORM_LIBS = -L/usr/lib/x86_64-redhat-linux5E/lib64 find /usr/lib -name "*pthread*"没有发现libpthread.a只好自己安装了yum install zlib-static glibc-static......【阅读全文】
发布时间:2014-05-16 14:41:43
For a n-bit RSA key, direct encryption (with PKCS#1 "old-style" padding) works for arbitrary binary messages up to floor(n/8)-11 bytes. In other words, for a 1024-bit RSA key (128 bytes), up to 117 bytes. With OAEP (the PKCS#1 "new-style" padding), this is a bit less: OAEP.........【阅读全文】