The secureStrings functions are now available in camelCase() style and all_lower_case() style (default has changed to all_lower_case()).
Mac OS X is supported now, compiling on Mac OS X requires the -D_MAC_OS_X flag on all sources that compile against the secureStrings library. This is required due to a problem with constants in dynamically linked files (supported on Unix/Linux, but does not work on Mac OS X, so on the Mac, those constants are replaced by #define statements).
I am still looking for a better and more consistent solution for Mac OS X.... read more
NEW RELEASE
There is a new release of the secureStrings library that includes a new preprocessor macro in securestr_conv.h. The new macro allows to easily wrap an sString data structure around string-literals (char vector literals, to be more precise).
Programs often compare or mix user input with some text constants, like, for example: does that command line argument start with "--"?
With previous versions of secureStrings, you could do things like:
- use sstrCmpCstr() to compare an sString with a char vector
- copy a char vector to an sString, and then use more sophisticated functions like sstrIndexOf on the two sStrings
- manually create an sString around your char vector, which was cumbersome, and which you could get wrong easily.... read more
This is an alpha version of the secureStrings library. You should not expect the API to be stable and/or finalized yet, however, the library has been stable enough for a while now to be usable.
The project urgently needs a lot of good documentation, manual pages, and how-tos. The documents describing the mathematical proof of the library's concept and implementation are not finished yet as well, so aside from programming and reviewing the code, there is a lot of work to do.... read more