madCrypt String/AnsiString

delphi package - madRes, madTools, madStrings, ...
Post Reply
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

madCrypt String/AnsiString

Post 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
madshi
Site Admin
Posts: 10749
Joined: Sun Mar 21, 2004 5:25 pm

Re: madCrypt String/AnsiString

Post 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.
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

Re: madCrypt String/AnsiString

Post 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
madshi
Site Admin
Posts: 10749
Joined: Sun Mar 21, 2004 5:25 pm

Re: madCrypt String/AnsiString

Post by madshi »

There should be overloads available for both AnsiString and UnicodeString.
Post Reply