At 02:19 PM 4/7/2003 -0700, you wrote:
I'm new to the Crypto++ (also to encryption arena) API
and have a couple of questions:

1. I need to do encryption on wide strings
(std::wstring). How can we go about doing that? I
searched for other encryption API's and couldn't find
anything that specifically talks about wide-strings.

Use good OOP encapsulation: just treat it as a byte array in your encryption layer. There is no reason the encryption needs to know it is a wchar string or a phone number in EBCDIC. That is the responsibility of your application layer.


2. I'm planning to provide a small layer over
Crypto++. Is it possible to strip our encryptions that
are not needed. Say, RSA is the only one that I'm
interested in (at least at this time -- in the future
more may be added) supporting. Is it possible to
remove other algorithms and mainly the ones that are
not in public domain?

Your linker should do this for you if you build Crypto++ as a lib and link it in to your code.



Thank you,
+ Vasu

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



Reply via email to