Hi!
Thanks for the quick answer!
I see what is the "HAMAC", this is the "Hash-based message authentication code".
Well, my question is, if the key is empty, see my last message:
MyKey:='';
LHMAC.Key := TConverters.ConvertStringToBytes(MyKey, TEncoding.UTF8);;
then the result must be equal with the non-HAMC verison, don't you think?
It isn't a uneccessary question, because if the result is good, I can use same as code with two times:
1. if key is empty, then the result same as non-HAMAC version, comparable to other hash, like as TC created hash
2. if key is present, then result is the HAMAC version.