Tomasz Sowa
1cd2b4cafa
base64: add possibility for the decoding strings to not have padding characters
...
Add Base64::RequirePaddingOnDecodedStrings(bool) method.
while here:
- add Decode(...) methods taking wide characters as the input string
2022-10-28 14:18:18 +02:00
Tomasz Sowa
a3438f4ae0
let Crypto::SetAESKey(...) takes the key length as an argument
...
while here:
- use the pikotools logger to print some debug messages
2022-08-14 12:53:19 +02:00
Tomasz Sowa
a3b1cec4db
change licence from 3-Clause BSD to 2-Clause BSD
2022-07-03 10:31:40 +02:00
Tomasz Sowa
fc88b575b0
add src/version.h with macros: TITO_VERSION_MAJOR, TITO_VERSION_MINOR, TITO_VERSION_PATCH
...
Let the version be 0.3.0.
2022-06-30 13:22:15 +02:00
Tomasz Sowa
a212a69517
add global Makefile
...
src/Makefile uses now 'find' for looking for *.cpp files
and we don't need Makefile.o.dep anymore
2022-06-26 06:17:20 +02:00
Tomasz Sowa
e02fe7a235
make depend
2021-06-25 19:20:41 +02:00
Tomasz Sowa
d1c24a061b
make depend
2021-06-16 18:21:50 +02:00
Tomasz Sowa
5aa215c334
fixed compilation: pikotools is in src subdirectory now
2021-05-27 12:07:13 +02:00
Tomasz Sowa
9da05dfb4f
fixed warning int/size_t
2021-05-21 00:42:45 +02:00
Tomasz Sowa
deb8c31951
updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
2021-05-21 00:42:35 +02:00
Tomasz Sowa
399a645a81
make depend
2021-05-17 03:23:30 +02:00
Tomasz Sowa
70a30f4c7c
src/Makefile.dep
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@1174 e52654a7-88a9-db11-a3e9-0013d4bc506e
2019-03-06 18:20:46 +00:00
Tomasz Sowa
ff5381cfa9
added: AES: encoding/decoding CBC mode with PKCS7 padding
...
added: base32 encoding/decoding
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@1159 e52654a7-88a9-db11-a3e9-0013d4bc506e
2018-12-07 05:06:34 +00:00
Tomasz Sowa
575ba9f6bd
changed: Makefile.o.dep
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@1113 e52654a7-88a9-db11-a3e9-0013d4bc506e
2018-05-25 17:23:01 +00:00
Tomasz Sowa
8d446b60a6
changed: using relative paths calculated with relative_path now
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@1033 e52654a7-88a9-db11-a3e9-0013d4bc506e
2016-03-18 09:25:47 +00:00
Tomasz Sowa
551b8d3f17
instead of directly using 'ar' program we are using the AR macro now
...
(which defaults to 'ar' if you do not define it)
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@992 e52654a7-88a9-db11-a3e9-0013d4bc506e
2014-11-12 04:12:13 +00:00
Tomasz Sowa
29e36a1571
removed: svn:executable attribute from files
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@986 e52654a7-88a9-db11-a3e9-0013d4bc506e
2014-11-01 17:12:17 +00:00
Tomasz Sowa
d10bfc9a37
added: -I../../pikotools flag when compiling
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@443 e52654a7-88a9-db11-a3e9-0013d4bc506e
2013-10-15 23:49:06 +00:00
Tomasz Sowa
23b06ec094
changed: in Crypto::Crypt()
...
MSVC compiler in debug mode reports accessing to vector[0] element (assertion)
when the vector was empty
(we took only a pointer without dereferencing)
now we are using a dummy char object in such a case
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@398 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-03-30 04:24:52 +00:00
Tomasz Sowa
a5a0201ec1
added: to crypto:
...
bool Crypt(const std::string & in, std::string & out)
bool Decrypt(const std::string & in, std::string & out)
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@396 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-03-08 13:54:21 +00:00
Tomasz Sowa
ddd6ebd637
some workarond for MS Visual
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@385 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-02-15 07:45:56 +00:00
Tomasz Sowa
b97d237ead
moved files from tito/trunk to tito/trunk/src
...
git-svn-id: svn://ttmath.org/publicrep/tito/trunk@377 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-01-12 02:53:55 +00:00