RSA encryption library for C++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am developing a Win32 application and I would like to use an RSA encryption library. Which library would you recommend?

If you're using Win32, why don't you simply use the built-in win32 crypto-API?
Here's a little example how it works in practice:
http://www.codeproject.com/KB/security/EncryptionCryptoAPI.aspx

Crypto++ - They have NIST FIPS validated dll's for MSVC 6, 7.1, and 8 on top of the normal source code self built packages.

I think OpenSSL is a good choice. It's well-maintained, and the price is right :)
http://www.openssl.org

I use the following library:
http://www.efgh.com/software/rsa.htm
It's public domain, compact, self contained, and does the work well.

Maybe Botan is an alternative? It is a C++ library with a BSD license that supports RSA algorithms.

As an alternative, consider LibTomCrypt (https://github.com/libtom/libtomcrypt)

Another alternative is libbeecrypt. A very mature product with assembler implementations on many platforms.

I have used OpenSSL in past and found it a great library for crypto APIs including AES, RSA, 3DES.

I would recommend Miracl library https://certivox.com/solutions/miracl-crypto-sdk/ but the price is high.

Related

Better logging library for C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
In our project now we using log4cxx, but those library don't develope some years, also we have some problems with it.
Could you advise some library for logging in C++.
Library must support multithreade logging, system-log.
Also it'll be good if it support logging via << operator.
Also lib license must be very democracy - like boost, apache etc
Crossplatform support. Must support linux, windows. Better if it support solaris, aix, hp-ux, but it's not necessary.
boost::log is probably the most versatile and well-written logging library I've seen. It's pretty complicated but really genius at the same time. And it does everything you can think of and then some more.
I use the glog library, by google (because I could not install Boost.Log easily). It is both simple to use and powerfull.
We use log4cplus in our company, it provides a complex hierarchical logging system (based on log4j). It seems to have everything you are asking for. It provides many appenders (I personally choose this library for the rolling files linux/windows and linux Syslog).
The library is quite simple to compile and deploy on both linux & windows And do the job no problem so far (about 4 years in production).
Only drawback, the lack of documentation but the code it quite self-explanatory. Good new is you could go to the log4j documentation page to understand how configurators/patterns/etc works ...
Check out pantheios!

Libraries for making a voice chat application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My development team is going to build a voice chat application.
Our plan is to use a pre-made library just for this purpose, but we haven't found any good one after days of searching the internet, so I thought I would consider a question here!
So the question is:
What library / project do you recommend? We are deadly serious with this, so it needs to be a good working one. Preferable an open-source one as well.
We have been looking at some XMPP libraries and projects, but none seems to be up-to-date, tested and well-documented.
Did you have a look at libjingle ? Its the base library for Google Talk.
And on what platforms are you interested in such libraies ? I would recommend http://camaya.net/gloox/ or http://www.igniterealtime.org/projects/smack/ for portability, completeness and open standards.
www.pjsip.org
I think it is the best sip sdk around.

The best zip library with public domain license [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Does anyone know zip library of C/C++ in public domain license?
It meets the following requirements.
It operates by the unit like stb_image.c library
Supported cross platform. Windows, Mac, Linux and so on.
Language is C/C++
License is public domain.
I'd recommend ZipLib.
Personal reasons why I love this project:
built around c++11 stl streams (e.g. decompresses into STL streams!)
lightweight (no dependencies other than zlib)
can be used on both windows & linux
It took me a long time to find this project -- hope this helps someone.
It didn't yet exist when the question was asked. But it does now: miniz - public domain, single C file, explicitly inspired by the likes of stb_image.
The most popular open source zip implementation is Info-Zip. Deflate algorithm used in zip file format is implemented by zlib library. Both are released on liberal, BSD-like license, but not public domain.
It's not public domain, but Minizip, which is included with zlib, meets your other three requirements. It also contains miniunz.c, a very easy to follow zip/unzip example.
The closest I can think of would be Xz-utils, which uses the public domain LZMA SDK. It's not zip, per se, nor does it use the deflate algorithm, but it is one of the few compression libraries in the public domain.
Public Domain is the LZMA sdk from 7z
http://www.7-zip.org/sdk.html
Problem: the documentation is "not existing" :-(
http://www.bzip.org/ is pretty common and a requirement of tons of easy_installs in multiple target languages.
Update:
I realize this is wrong, but it's a common misunderstanding, so I'm leaving it up as a sentinel to describe a frequent error.

Can somebody recommend a good U3D library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to put some 3D images into PDF files, and PDF uses Universal 3D (U3D) formats. I don't like the U3D Sourceforge project (basically what Intel released after the ECMA standardization effort).
Does anybody know of good U3D libraries I could use? I'm using C++ on Microsoft Windows, FWIW.
VCGLib is a mesh processing library that has a U3D exporter and a variety of importers (see http://vcg.sourceforge.net/index.php/Tutorial#File_Formats). MeshLab is a tool built on top of it.
Another answer would be Visual Technology Services with PDF3D (PDF link). I've started evaluating it and I like what I see so far.
I agree with your position of not liking the U3D sourceforge project. People at my company is having problems with it when exporting large models: it runs out of memory.
The project has explicitly stated that it has memory issues on its TODO list and is dead since 2007, so I strongly recommend you to go elsewhere.

Best library for statistics in C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for high performance code (needs to run in real-time), preferably open source, but if there is nothing that's free and high-perf, I'll take something well supported and of high quality for a cost.
Any suggestions?
These are the ones I've found so far, in no particular order:
CodeCogs
GSL
Cephes
Boost MathToolkit
Blitz++
TNT
Check the links on mathtools.net. The page for statistics libraries for C++ has links. Another page http://www.thefreecountry.com/sourcecode/mathematics.shtml lists few more.
Have you checked the 'R project'? I think you can call 'R objects' from C/C++.
I'm surprised nobody's mentioned ALGLIB: http://www.alglib.net/
Root has pretty good statistical support. At least as us particle physics types judge these thing. Works in cint interpretation or as a native c++ library.
TNT is for matrix calculations but doesn't have any statistics functionality. (e.g. erf, mean/std/cov etc)
I haven't used Boost Math Toolkit, but skimming through the documentation, it looks like it has the opposite problem, e.g. lots of goodies for scalar calculations, but no support (that I could find) for multivariate situations.
I have used the IT++ library in the past, this library supports ACML and MKL routines trough BLAS and LAPACK. If it are calculations that need to happen fast, there is the possibility of using this library together with HPC, this is an although undocumented feature so some thought will be required.
The focus on this library is however positioned on matrix calculations, but many normal mathematic and statistic functions can be found in this framework thanks to its excellent signal processing support.