Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Possible Problem with current implementation of TCrMD5 in Unit ElMD5.pas

I think the Property InputString: String wil cause problem when use the class between Delphi-Version < 2009 and 2009 and above because of the differnt definition of String (String = AnsiString != String = UnicodeString).

I think you should change it to

InputString: AnsiString;

and add new

  InputStringUni: WideString

and new InputType SourceWideString

or think about some String-Coding-Option

(UseAnsi/UseActCodePage/UseUnicode/...)

Comments

Sign In or Register to comment.