Page 1 of 1

madCrypt String/AnsiString

Posted: Sun Aug 07, 2011 9:40 am
by ccr
hello,
i use your library with delphi 2010. i only try to work with delphi string. some functions (like encrypt/decrypt) require Ansistring.
this leads to compiler warnings. will you provide a pure string-based implementation in the future?
i am not sure if this is really a big issue with delphi at all ...

thank you

Re: madCrypt String/AnsiString

Posted: Sun Aug 07, 2011 11:09 am
by madshi
I'll add that to my to do list, but I have so many things to do at the moment, it could take quite a while until I get to implementing this. If all else fails, you can use the Encrypt/Decrypt API with "buf: pointer" parameter.

Re: madCrypt String/AnsiString

Posted: Tue Aug 11, 2015 6:37 am
by ccr
hello,
sorry to follow up this old post again. just beeing confused - your online documentation shows Encrypt/Decrypt-parameters as

Code: Select all

string
.
however the installer installs a madCrypt-version from 2012 which still uses

Code: Select all

AnsiString
.
is there a corrected version available?
i now use delphi xe2

Re: madCrypt String/AnsiString

Posted: Mon Aug 17, 2015 4:47 pm
by madshi
There should be overloads available for both AnsiString and UnicodeString.