aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap/sqlite/codec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename S2K to PBKDF, because that is by far the most common name - S2Klloyd2010-07-091-4/+4
| | | | | | | | | | | | | really is only used by OpenPGP, and largely it was named S2K here because the OpenPGP S2K was implemented years before the ones in PKCS #5. We have a typedef of PBKDF to S2K, and an inlined get_s2k that calls get_pbkdf for source compatability. There doesn't seem to be any reason to have a forward for the renamed s2k.h header - to actually use a PBKDF, you'd have to either include lookup.h and call get_s2k / get_pbkdf, or else include an algorithm-specific header and use it directly. In either case, including s2k.h is neither necessary nor sufficient.
* Add SQLite3 encryption codec, contributed by Olivier de Gaalon. Useslloyd2010-01-221-0/+123
Twofish in XTS mode for encryption by default, but is easily tweakable.