OpenSSL でだめなの?
http://www.openssl.org/